Originally Posted by davx92
I'm guessing there's an error on Page 179 Figure 7-9. In that figure shouldn't Byte2 be displayed as 8 bits? Also on that figure shouldn't decimal value 8 and 9 be represented as 1000 and 1001 (in binary form) instead of 1000 and 010001? Is this an error or i just got it wrong? Thanks for your time.
I am looking at page 179 right now.
Both are 8-bit values.
How ever, to convert the binary to decimal - follow this example,
16+ 4 = 18
1+8+128 = 137
You are right, the binary is wrong. But, just ignore that and take a look at objdump output to figure out the correct binary values. OR write a program that outputs binary from decimal input!