1- please fill the blank
a) in the long format floating point representation: pentium gives....... bits for exponent and.......bits for mantissa.
b) give an example of test-and-jump instruction in assembly:..........
Answer:
A. in the long format floating point representation: pentium gives 6bits bits for exponent and 10bits bits for mantissa.
B. There are many instructions in assembly works based on test and jump. And there are unconditional instructions also which do not check any value but jumps.
Example:
CMP AL,BL
JE X
X:.....
Explanation:
cmp al , bl means it will compare both al and bl values. Then the value will be store in program status word. JE X means jump on equl. i.e, if both are equal then it will jump to X. X is a label here.
So JE X is a test- and-jump instruction here.
Get Answers For Free
Most questions answered within 1 hours.