These are LC3 Assembly instructions to be translated into 1's and 0's

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 15VE: A(n) ________________ instruction always alters the instruction execution sequence. A(n)...
icon
Related questions
Question

These are LC3 Assembly instructions to be translated into 1's and 0's

Assembly to Binary
A Bookmark this page
Assembly to Binary 1
An LC-3 assembly language program contains the instructions
R5, X
R5, R5, #0
LEA
Y
LDR
The symbol table entry for Y is x3005. When the instruction at address Y is executed during the running of the program, what bit pattern will be contained in R5 immediately
after these instructions are executed?
Enter the correct sequence of 1s and Os; extra spaces will not invalidate your answer.
register
binary value in register
R5
Save
Submit
You have used 0 of 1 attempt
Assembly to Binary 2
An LC-3 assembly language program contains the instructions
R6, Z
R6, R6, #-1
X
LEA
Y
LDR
BRnz
Y
The symbol table entry for Z is X300A. When this instruction is executed during the running of the program, what bit pattern will be contained in R6 immediately after these
instructions are executed?
Enter the correct sequence of 1s and Os; extra spaces will not invalidate your answer.
register
binary value in register
R6
Transcribed Image Text:Assembly to Binary A Bookmark this page Assembly to Binary 1 An LC-3 assembly language program contains the instructions R5, X R5, R5, #0 LEA Y LDR The symbol table entry for Y is x3005. When the instruction at address Y is executed during the running of the program, what bit pattern will be contained in R5 immediately after these instructions are executed? Enter the correct sequence of 1s and Os; extra spaces will not invalidate your answer. register binary value in register R5 Save Submit You have used 0 of 1 attempt Assembly to Binary 2 An LC-3 assembly language program contains the instructions R6, Z R6, R6, #-1 X LEA Y LDR BRnz Y The symbol table entry for Z is X300A. When this instruction is executed during the running of the program, what bit pattern will be contained in R6 immediately after these instructions are executed? Enter the correct sequence of 1s and Os; extra spaces will not invalidate your answer. register binary value in register R6
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning