Problem 1 : Fundamentals
- This questions deals with 8-bit 2's complement (signed) numbers.
Each row contains a number specified in binary, decimal, or hex.
Fill in the other columns of the same row with the same number.
The first row is given as an example. (4 pts)
| Hex | Binary | Decimal |
| F0 | 11110000 | -16 |
| 1A | | |
| | | -2 |
- 80x86 addresses are specified in a segment:offset format.
Each row contains an address. Fill in the other row with an equivalent
segment:offset or linear address. All numbers are in hex.
(4 pts)
| Segment:Offset | Linear Address |
| 5000:4444 | |
| | 7A000 |
- Not all 80x86 instructions are valid. For each
insruction, Place an X to specify if the instruction
is valid or invalid. The first row is given as an example.
(16 pts)
| Instruction | Valid | Invalid |
| MOV AX, CX | X | |
| MOV AX, [CX] | | |
| MOV [AX], CX | | |
| MOV AL, CL | | |
| MOV BL, DX | | |
| MOV [SI], [BX] | | |
| MOV AX, [BX+SI] | | |
| SHL AL, 2 | | |
| MOV BL, -254 | | |