Line 227:
Line 227:
:::* 1's Complement
:::* 1's Complement
:::* 2's Complement
:::* 2's Complement
− ::* [[Media:CSC231_Week6_slides.pdf| slides]] (pdf)
+ ::* [[Media:CSC231_Week6_slidesb .pdf| slides]] (pdf)
* '''Friday''':
* '''Friday''':
::* Linux: More advanced redirections, permissions, for-loops, ping
::* Linux: More advanced redirections, permissions, for-loops, ping
Revision as of 09:45, 1 March 2017
--D. Thiebaut (talk ) 10:37, 2 December 2016 (EST)
Home | Syllabus | Schedule |
Links & Resources
Topics : Introduction
Lab/Hw
Reading
Syllabus
Class accounts
The main players for this semester:
Structure
Presentation
Documentation
Reading
Chapter 1 in the Art of Assembly .
Also Chapter 3, Sections 0 to 3.1.2.
Sections 1.3.1, 1.3.2, 1.3.3, 1.3.4, and 1.3.5 in Carter's PC Assembly Language . Note, Carter uses 1A92h to represent a hexadecimal number. I prefer 0x1A92.
Topics : Emacs, assembly, hexdump
Lab/Hw
Reading
A few words about "When Computers were Human," a video by David Alan Grier, editor of IEEE Annals of History of Computing. (In reference to the movie "Hidden Figures.")
Topics : Registers (eax, ax, al). The ADD Instruction
Lab/Hw
Reading
Back to hexdump and listings
The mov instruction
General purpose registers: al, ah, ax, eax...
moving information in an out of registers and memory
the add instruction
slides (pdf)
Linux Lab : More about files and directories. pushd, popd, history, less, cat, file, grep
Moodle quiz on lab
Homework #1 will be released on Monday 2/6 at 11:00 a.m. You will find it on Moodle and you will have until 2/13/17 11:55 p.m. to submit it.
Topics : SUB, DW, DD, DB, Binary, Hex, Decimal conversion.
Lab/Hw
Reading
A few words about the programming part of Homework #2
The SUB instruction (subtracts source from dest )
Review db, dw, dd, and how variables fit in memory
Step-by-step execution of a program
Getting a sense of speed of computation
Comparing to Arduino
Comparing to Raspberry Pi 3
Number systems. Understanding decimal , binary , and hexadecimal
Linux Lab : Manual Pages, and pipes.
Moodle quiz on lab
Homework #2 is released on Monday 2/13 at 11:00 a.m. It contains a programming assignment, and a quiz to be answered on Moodle . The due date is Monday 2/20/17 11:55 p.m.
Read Chapter 1 in the Art of Assembly reference by Randy Hyde, Sections 1.0 to 1.4 .
Topics : Conversion binary, hex, decimal.
Lab/Hw
Reading
Linux Lab : Vi text editor, Redirection of stdin, and stdout
Homework #3 is released on Monday 2/20 at 11:00 a.m. It contains several quizzes to be answered on Moodle.. The due date is Monday 2/27/17 11:55 p.m.
Section 6.5.1.2 in Hall's Art of Assembly
Sections 1.5 an 1.6 in Hall's Art of Assembly
Section 6.5.6 and 6.5.7 on MUL and DIV in Hall's text . Skip the parts about IMUL, and IDIV which require knowledge of signed numbers. Also skip the part about the decimal adjust and other instructions in these sections.
For next week, prepare by reading Section 1.7
Topics : Logical instructions, Logic Design, Signed Numbers
Lab/Hw
Reading
Logical instructions
Logic design: A 2-bit adder (this won't be on the midterm exam)
Signed numbers
Signed magnitude
1's Complement
2's Complement
Linux: More advanced redirections, permissions, for-loops, ping
Topics :
Lab/Hw
Reading
Wed : MIDTERM EXAM : on paper, in class, closed books, closed notes, closed computers.
No homework assignment given out this week
Topics :
Lab/Hw
Reading
Linux: Grep and Regular Expressions
Topics :
Lab/Hw
Reading
Linux: Piping and Redirection. Redirecting to/from stdout and stderr
Topics :
Lab/Hw
Reading
Linux: Process Management
Topics :
Lab/Hw
Reading
Linux: Scripting 2. Variables.
Topics :
Lab/Hw
Reading
Linux: Linux tips & tricks 1
Topics :
Lab/Hw
Reading
Linux: Linux tips & tricks 2
Links_and_Resources
Pipelines, Branch Prediction, Hyper-Threading
Bash Shell & Linux Resources