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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education