hex binary 0 0000 1 0001 2 0010 3 0011 4 0100 5 0101 6 0110 7 0111 8 1000 9 1001 A 1010 B 1011 C 1100 D 1101 E 1110 F 1111 ------- 1101011100100001001110 35c84e convert this 1101011100100001001110 to hex d7213..??? this is wrong space it out, and work from right to the left 11 0101 1100 1000 0100 1110 rewrite as 0011 0101 1100 1000 0100 1110 3 5 C 8 4 E ------- convert the hex value CAFE to binary C A F E 1100 1010 1111 1110 8723F 8 7 2 3 F 1000 0111 0010 0011 1111 ------- convert 27 to binary 27 / 2 = 13 R 1 13 / 2 = 6 R 1 6 / 2 = 3 R 0 3 / 2 = 1 R 1 1 / 2 = 0 R 1 011011 1x2^0 = 1 1x2^1 2 0x2^2 0 1x2^3 8 1x2^4 + 16 = 27 write the binary result from bottom to top convert 26 to binary 26 / 2 = 13 R 0 13 / 2 = 6 R 1 6 / 2 = 3 R 0 3 / 2 = 1 R 1 1 / 2 = 0 R 1 011010 0x2^0 = 0 1x2^1 2 0x2^2 0 1x2^3 8 1x2^4 + 16 = 26 I assume ... --------------------- We want to write an assembly language program to find 37 + 24 - 17 1. get these values into registers load the value 37 into x1 load the value 24 into x2 load the value 17 into x3 2. add x1 to x2 3. sub x3 from (x1 + x2)