CS2011 A Term 1999 Prof. Sergio A. Alvarez HW1 (due Friday Sept. 3) 1) Perform the following conversions. Show your work. a) 551 d to binary notation. b) 12A5 h to decimal notation. 2) Express the integer -23 d in each of the following notations (8 bits): a) sign-magnitude b) ones complement c) twos complement 3) Write -7.1875 d in single precision IEEE floating point standard 754 notation. Express your answer in hex format. 4) Assume that the debug utility initially shows the 8086 register/memory contents to be as follows: AX=0000 BX=0000 CX=0000 DX=0000 SP=FF0C BP=0000 SI=0000 DI=0000 DS=12EB ES=12EB SS=12EB CS=0F76 IP=0105 NV UP EI PL NZ NA PO NC 0F76:0105 8B4C05 MOV CX,[SI+05] a) Give the new contents of the IP register after the next instruction is executed. b) What are the (hex) contents of registers AX, BX after executing the following instructions ? (Assume the 123 and -57 to be in decimal) mov ax,123 mov bx,-57 mov [0500],ax mov [0506],bx c) Give the full address in segment:offset form and new contents (hex) of each of the four distinct memory locations (bytes) that are changed by executing the instructions in b).