CS21 (Assembly language and computer organization)
by F. Cabarle (THQR and WFQR)
AY 2015-2016 sem 1
Tenative course syllabus (cs21-ay15_16s1 cabarle.pdf) attached.
11 to 12 Aug:
13 to 14 Aug:
Uploaded slides on computer arithmetic and more slides on IEEE 754 standard.
17 Aug: Both CS 21 THQR and WFQR sections will not have lecture and lab classes this week, i.e. 18 and 20 Aug, and 19 and 21 Aug. Please stay tuned for exercises to be uploaded this week.
18 Aug:
CS 21 THQR and WFQR, please try solving the attached exercises on number systems (conversions, arithmetic, representations) in the attached zip file ``number systems.zip'' for additional practice.
TENTATIVE date and time of PAPER EXAM 1 is on 26 September 2015, 08:00h to 10:00h, while PROGRAMMING EXAM 1 is on 03 October 2015, 08:00h to 11:00h.
Uploads for assembly programming (week of 21 Aug):
Week of 25 August:
Laboratory slides and lab manuals are uploaded.
MIPS ISA sheet uploaded.
If you point out (a) mistake(s) in our slides, please email me at fccabarle at dot up dot edu dot ph. You get credit (also our thanks, among other things) for pointing out the mistake(s) correctly!
02 Sep:
Practice assembly programming exercise following me 3 is now uploaded (i.e. lecAL3.1man.pdf).
08 to 11 Sep:
Uploaded first set of lecture slides for computer memory, i.e. lecture5.pdf.
Uploaded exercises (lecture5disc 1.pdf) and second lecture slides on memory (lecture6.pdf)
UPDATE on exam: hands on coding exam (HOCE) 1 will be on 26 SEPTEMBER, while paper exam 1 is on 03 OCTOBER. Please stay tuned for specific class exam hours, but exams for all six CS 21 classess will be between 8:00h and 12:00h for paper exam, and 8:00h to 14:00h for HOCE.
14 to 18 Sep:
Uploaded: me4 (lecAL4man.pdf), me4.1 (homework, lecAL4.1.pdf), me5 (lecAL5man.pdf), me6 (lecAL6man.pdf)
Lecture slides for this week: branching and looping (AL lecture4.pdf); masking, shifting, rotating (AL lecture5 (w- logic review).pdf); functions (AL lecture6.pdf).
21 Sep EXAM details: hands on coding exam (HOCE) 1 will be at TL1 and TL3, 8:00h to 11:00h on 26 September (sabado).
22 Sep reading assignment on buses and I/O uploaded: Lec 08 - Buses,IO.pdf
06 Oct:
Lecture 7 and 8 on electrical circuits, including some exercises, now uploaded.
13 to 16 Oct:
Lab 07 slides: AL lecture7.pdf
Multimeter user manual (Kyoritsu model 1009 auto range digital multimeter): 1009_IM_92-1548E_E_L.pdf
17 Oct: Paper exam results now available: cs21_thqr_wfqr_s1ay15-16_marcas - examenes (lec).pdf
21 to 22 Oct:
Slides on boolean gates and k-maps uploaded: boolean-gates-kmap.zip
A good step by step and visual guide to building boolean gates using common lab parts (e.g. resistors, breadboard) is HERE.
Another good reference book for CS21, from assembly programming, to circuits, to computer organization and architecture is the book ``Digital design and computer architecture'' by David Money Harris, Sarah L. Harris. This book is available in the engg library.
Lecture slides on combinatorial (13.1 Discussion on combinational circuits.pdf) and sequential logic (14 Sequential logic.pdf) now uploaded.
A good video on building a full adder, using similar techniques and circuit components from our lec and lab classes, can be found HERE.
Relevant IC datasheets (collected IC datasheets.zip) and display datasheets (disp datasheet.zip) are now uploaded.
12 to 13 Nov: Lecture slides on building a basic processor, and pipelining are uploaded (proc-pipe.zip)
18 Nov:
The optional problem set 2 is now uploaded (cs21_problemset2.pdf), i.e. submission is not required but additional points will be given to those who do.
If you choose to submit your answers, write your answers CLEARLY and NEATLY on yellow sheets of paper together with your name, section, student number.
Deadline is during the last lecture exam.
As of posting date, we have yet to cover a few items in the problem set. These items should not be a problem for you however, since we have reference books, plus that nice thing called the Internet. :)
More exercises (in preparation for the exam!) can be found here.
25 Nov: lecture slides and exercises on CPU performance, Amdahl's law etc. are now uploaded (cpu-perf-amdahl.zip).
26 and 27 Nov:
Arduino exercise manual 1 is uploaded (lecAL13man.pdf).
Arduino exercise manual 2 is uploaded (lecAL14man.pdf).
Slides on bouncing and debouncing (AL lecture14.pdf) are uploaded.
Pre-final grades (lec + lab) are HERE. Please note that there might be errors still with these grades. I will be at either room 317 or 319 on Monday (14 Dec) 13:00h to 16:00h for doubts, corrections, etc.