Question

37. What is the binary value of AL after the following instructions have mov al,01101011b stc rcl al,2 38. What is the binary

0 0
Add a comment Improve this question Transcribed image text
Answer #1

37) 1010 1110 38)AX=0000 0001 0011 1011 39) AX = 1100 0000 0010 01 11

Add a comment
Know the answer?
Add Answer to:
37. What is the binary value of AL after the following instructions have mov al,01101011b stc...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Need help on Assembly language 1.Solve the following conditions: A. Suppose AL contains 11001011 and CF...

    Need help on Assembly language 1.Solve the following conditions: A. Suppose AL contains 11001011 and CF = 1.    Give the new contents of AL after each of the following instructions is executed.    Assume the above initial conditions for each part of this question. a. SHL AL,1 b. SHR AL,1 c. ROL AL,2 d. ROR AL,3 e. SAR AL,2 f. RCL AL,1 g. RCR AL,3 B. Suppose EAX contain ABCDH.    Show the contents of BX and CX after...

  • 1. What will be the contents of BX after the following instructions execute? mov bx,5 stc...

    1. What will be the contents of BX after the following instructions execute? mov bx,5 stc mov ax,60h adc bx,ax 2. Describe the output when the following code executes in 64-bit mode: .data dividend_hi QWORD 00000108h dividend_lo QWORD 33300020h divisor QWORD 00000100h .code mov rdx,dividend_hi mov rax,dividend_lo div divisor 3. The following program is supposed to subtract val2 from val1. Find and correct all logic errors (CLC clears the Carry flag): .data val1 QWORD 20403004362047A1h val2 QWORD 055210304A2630B2h result QWORD...

  • ASSEMBLY LANGUAGE. For each problem, show the contents or setting of the requested item after executing...

    ASSEMBLY LANGUAGE. For each problem, show the contents or setting of the requested item after executing the instructions. 1. mov eax,0 mov al,5 mov bl,11 mul bl - Show the hexadecimal digits in eax: - Show the carry flag value:    - Show the overflow flag value:      mov eax,0 mov edx,0 mov ax,5h mov bx,20h mul bx - Show the hexadecimal digits in eax: - Show the hexadecimal digits in edx: - Show the carry flag value: - Show the...

  • What will be the value of the parity flag after the following lines execute? Mov al,...

    What will be the value of the parity flag after the following lines execute? Mov al, 3 Add al, 5 What will be the value of the destination operand after each of the following instructions execute?            .data var1 SBYTE     -1, -2, -3, -4 var2 WORD A000h, B000h, C000h, D000h var3 SWORD     -16, -42 var4 DWORD     11, 22, 33, 44 .code mov ax, var2 mov ax, [var2+4] mov ax, var3 mov ax, [var3-2]

  • 4. Assemble the following instruction sequence into the memory starting at address CS: 100 and th...

    please provide screenshots using dos debug. 4. Assemble the following instruction sequence into the memory starting at address CS: 100 and then verify their machine code in the memory. a. ADD AX, 00FFH b. ADC SI, AX c. INC BYTE PTR [0100H] d. SUB DL, BL e. SBB DL, [0200H] f. DEC BYTE PTR [DI+BX] g. NEG BYTE PTR [DIJ+0010H h. MUL DX i. IMUL WORD PTR [BX+SI] j. DIV WORD PTR [SI]+0030H k. IDIV WORD PTR [BX]ISI]+0030HS. How many...

  • You have to put the input to the line(Linea), rectangle(rectangulo), triangle(triangulo) and circle(circulo) in assembly 8086...

    You have to put the input to the line(Linea), rectangle(rectangulo), triangle(triangulo) and circle(circulo) in assembly 8086 please, Same as this code, add that input that I'm asking. Which user of the size and the area where the figure will be located on the screen. .MODEL SMALL   .STACK 100h .DATA    mensaje db 'Seleccione una opcion del siguiente Menu',13, 10        db '1. Dibujar un Circulo', 13, 10        db '2. Dibujar una Linea', 13, 10        db '3. Dibujar un...

  • EEE 3423 - MICROPROCESSOR & MICROCOMPUTERS Sem I, 2019/2020 TUTORIAL #2: Week 05 - Week 08...

    EEE 3423 - MICROPROCESSOR & MICROCOMPUTERS Sem I, 2019/2020 TUTORIAL #2: Week 05 - Week 08 Answer all questions. [CO1-P011 1. Assuming that the instructions below are being executed in sequence from line 1 to 6. MOV AL, 010101010 MOV AH, AL AND AL, 00011111B OR AH, 11000000B XOR AL, 00001111B (62 NOT AH Descnbe the result of executing the following sequence of instructions from line 1 to 6 respectively but in HEX number system. Then, please provide the final...

  • What is the value in R5 after the following instructions are executed in MSP430? (Note: 1234h...

    What is the value in R5 after the following instructions are executed in MSP430? (Note: 1234h indicates that it is a hexadecimal number. ) MOV #1234h, R5 SWPB R5 a) 4321 b) 3412 c) 2143h d) 3412h

  • 1. If DS-1000H, BX-0200H, SI-O2H, the contents of Memory units10200H 10205H are respectively 10H, 2AH, 3CH,...

    1. If DS-1000H, BX-0200H, SI-O2H, the contents of Memory units10200H 10205H are respectively 10H, 2AH, 3CH, 46H 59H、6BH. What is the contents of the AX Register after each of the following instructions is executed? (1)MOV AX, 0200H (3)MOV AX, BX (5)MOV AX, [BX+SI (2) MOV AX, [200H (4) MOV AX, 3BXI (6) MOV AX, 2[BX+SI] 2, If DS 1000H, ES-2000H, SS-3500H, SI-00AOH, DI-0024H, BX-01 00H, BP-0200H. The Offset Address of the variable named VAL in the data segment is 0030H...

  • Assume that the registers have the following values (all in hex) and that CS= 1000, DS...

    Assume that the registers have the following values (all in hex) and that CS= 1000, DS = 2000, SS=3000, SI=4000, DI = 5000, BX=6080, BP= 7000, AX=25FF, CX=8791, and DX=1299. Calculate the physical address of the memory where the operand is stored and the contents of the memory locations in each of the addressing examples. a) MOV [SI], AL b) MOV [SI+BX+8], AH c) MOV [BX]+300, DX Now Examine the status of the CF, PF, AF, ZF, and SF if...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT