Teachings‎ > ‎Undergraduate Courses‎ > ‎

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:
    • Slides on computer organization, abstractions, and technologies, based on CS 161 of UC Riverside course are here (reading assignment for 11 and 12 Aug).
    • One (of many possible) references for binary to IEEE 754 standard conversion procedure is here.
  • 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):
    • MARS IDE layout of featuers: MARS features.pdf or alternatively here.
    • The MIPS ISA: mips-isa.pdf or alternatively here.
  • 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.
Ċ
Francis Cabarle,
Aug 13, 2015, 7:00 PM
Ċ
Francis Cabarle,
Aug 13, 2015, 6:59 PM
Ċ
Francis Cabarle,
Oct 14, 2015, 5:27 PM
Ċ
Francis Cabarle,
Oct 24, 2015, 1:31 AM
Ċ
Francis Cabarle,
Oct 24, 2015, 1:31 AM
Ċ
Francis Cabarle,
Nov 25, 2015, 5:07 PM
Ċ
Francis Cabarle,
Aug 26, 2015, 5:46 PM
Ċ
Francis Cabarle,
Sep 14, 2015, 5:27 PM
Ċ
Francis Cabarle,
Sep 14, 2015, 5:27 PM
Ċ
Francis Cabarle,
Sep 16, 2015, 7:29 AM
Ċ
Francis Cabarle,
Oct 14, 2015, 5:26 PM
Ċ
Francis Cabarle,
Sep 22, 2015, 1:01 AM
Ċ
Francis Cabarle,
Aug 21, 2015, 8:54 AM
ċ
boolean-gates-kmap.zip
(5206k)
Francis Cabarle,
Oct 20, 2015, 7:32 PM
ċ
collected IC datasheets.zip
(1288k)
Francis Cabarle,
Nov 2, 2015, 1:55 AM
ċ
cpu-perf-amdahl.zip
(449k)
Francis Cabarle,
Nov 24, 2015, 5:25 PM
Ċ
Francis Cabarle,
Aug 3, 2015, 9:44 AM
Ċ
Francis Cabarle,
Nov 18, 2015, 12:54 AM
Ċ
Francis Cabarle,
Oct 17, 2015, 9:02 AM
ċ
disp datasheet.zip
(106k)
Francis Cabarle,
Nov 2, 2015, 3:02 PM
Ċ
Francis Cabarle,
Aug 26, 2015, 4:11 AM
Ċ
Francis Cabarle,
Aug 26, 2015, 4:12 AM
Ċ
Francis Cabarle,
Aug 26, 2015, 4:10 AM
Ċ
Francis Cabarle,
Aug 26, 2015, 4:11 AM
Ċ
Francis Cabarle,
Nov 26, 2015, 3:22 PM
Ċ
Francis Cabarle,
Nov 25, 2015, 4:14 PM
Ċ
Francis Cabarle,
Sep 1, 2015, 7:15 PM
Ċ
Francis Cabarle,
Aug 26, 2015, 5:42 PM
Ċ
Francis Cabarle,
Sep 14, 2015, 5:44 PM
Ċ
Francis Cabarle,
Sep 14, 2015, 5:13 PM
Ċ
Francis Cabarle,
Sep 14, 2015, 5:28 PM
Ċ
Francis Cabarle,
Sep 16, 2015, 7:31 AM
Ċ
Francis Cabarle,
Aug 10, 2015, 9:08 AM
Ċ
Francis Cabarle,
Aug 10, 2015, 6:47 PM
Ċ
Francis Cabarle,
Sep 7, 2015, 3:22 PM
Ċ
Francis Cabarle,
Sep 9, 2015, 4:22 PM
Ċ
lecture6.pdf
(1748k)
Francis Cabarle,
Sep 10, 2015, 11:06 PM
Ċ
Francis Cabarle,
Oct 6, 2015, 3:00 AM
Ċ
Francis Cabarle,
Oct 6, 2015, 3:00 AM
Ċ
Francis Cabarle,
Oct 6, 2015, 2:59 AM
Ċ
Francis Cabarle,
Aug 21, 2015, 9:26 AM
ċ
number systems.zip
(6k)
Francis Cabarle,
Aug 18, 2015, 8:24 AM
ċ
proc-pipe.zip
(5207k)
Francis Cabarle,
Nov 13, 2015, 12:10 AM
Comments