Question: Assembly language 1 How is the value -45 represented inside the computer? 2- What is the 2's complement of 89? 3- What is the decimal
1 How is the value -45 represented inside the computer? 2- What is the 2's complement of 89? 3- What is the decimal value of the signed 8 bit number 11001100? 4- What is the decimal value of the signed 8 bit number 01111000? 5- What is the largest positive value (decimal) in a 16 bit register (assuming 2's complement is used)? What is the largest and smallest negative value (decimal) in a 16 bit register (assuming 2's complement is used)? 6- 7- Write a program to move 8 to AL and 7 to BL. Then add the two values placing the result in BL Then add 240 to BL. Then add 1 to BL. Then add 99 to AL. Next to each instruction write the value of Z and C flag after that instruction is executed. For example the lines below show the values of C and F flags after each of the following lines are executed. This is just showing you how the problem should be answered ADDB ss, %AL MOVB $1, %BL
Step by Step Solution
There are 3 Steps involved in it
To solve the given problems lets go through each part stepbystep How is the value 45 represented inside the computer To represent 45 in a computer usi... View full answer
Get step-by-step solutions from verified subject matter experts
