(a) Write short notes on displacement only addressing mode.
(b) Explain the formats of a 80-bit floating point number.
(c) Given the following assembly program. Instructions affect the CPU status flags at several stages when the program is run. Show on which lines the flags ZF, CF and OF are triggered to 1.
TITLE Addition and Subtraction
Rval SDWORD ?
Xval SDWORD 26
Yval SDWORD 30
Zval SDWORD 40
; INC and DEC
; Expression: Rval = -Xval + (Yval - Zval)
(d) Write a program in assembly to evaluate the sum of all the hexadecimal integer numbers of a 5-element array. Show the registers' contents.