Professional Documents
Culture Documents
REVISION QUESTION
(6 marks)
(4 marks)
B Y
(6 marks)
Y= (AB + C) D
(4 marks)
a) Convert the following numbers to the respective numbering systems. Show your work.
i) ABCDE16= ____________2=______________10
i) 1110-2510 (8 bits)
c) Convert the following number to IEEE single-precision format. Give the results in
hexadecimal. The number is -27/256.
AX = 25BDh
BX = 5267h
CX = A564h
DX = 2478h
SP = FFE0h
a. Build a stack after the following instructions are executed. State the contents of registers
AX, BX, CX, DX and SP after the instructions are executed.
PUSH AX
PUSH BX
POP BX
PUSH AX
POP BX