Assignment # 01: Computer Architecture and Assembly Language Programming (CS401)
Assignment # 01: Computer Architecture and Assembly Language Programming (CS401)
You should consult the recommended books to clarify your concepts as handouts are not
sufficient.
Topic Covered:
Registers
Intel Architecture
Register Architecture
Data Declaration
Addressing Modes
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the
case of load shedding or internet malfunctioning etc.). Hence refrain from uploading
assignment in the last hour of deadline. It is recommended to upload solution file at least
two days before its closing date.
If you people find any mistake or confusion in assignment (Question statement), please
consult with your instructor before the deadline. After the deadline no queries will be
entertained in this regard.
Note: You cannot use LOOP or any other repetitive structure to solve this questions.
Questions No 02 10 marks
Suppose, we have the following register values:
You are required to calculate the physical address generated by each of the following
instructions.
1. MOV [BP+FA21], AX
2. ADD CX, [SP+FAFA]
Note: Each provided instruction is independent & all numbers are stated in Hexadecimal number
system.