HOW ASSEMBLER WORKS Two-pass assembler - Source program scanned twice before producing the object code ● LC: Assembler's simulation of PC -When an assembly program is assembled, LC is used to keep track of the "memory location" at which an instruction would be should that instruction be executed. -So that machine code can be generated correctly from assembly code.

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 26VE: _____ is a CPU design technique in which instruction execution is divided into multiple stages and...
icon
Related questions
Topic Video
Question
100%

Make an explanation.

HOW ASSEMBLER
WORKS
Two-pass assembler
Source program scanned twice before producing the object code
• LC: Assembler's simulation of PC
●
-When an assembly program is assembled, LC is used to keep track of
the "memory location" at which an instruction would be should that
instruction be executed.
-So that machine code can be generated correctly from assembly code.
Transcribed Image Text:HOW ASSEMBLER WORKS Two-pass assembler Source program scanned twice before producing the object code • LC: Assembler's simulation of PC ● -When an assembly program is assembled, LC is used to keep track of the "memory location" at which an instruction would be should that instruction be executed. -So that machine code can be generated correctly from assembly code.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
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