Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assembler assigns addresses in memory for assembler directives for data only for

ID: 3862805 • Letter: A

Question

Assembler assigns addresses in memory for assembler directives for data only for text only for data and text (code) Source programs are saved in main memory saved in secondary storage saved in cache memory saved in processor register file In step 3 of "Call with indirection' instruction, contents of program counter (PC) are stored in register 'PC-Temp' and then contents of register RA are stored in PC. In RTN, it is represented as follows: PC-Tempo leftarrow [PC], PC leftarrow RA. PC-Temp leftarrow [PC], [PC] leftarrow [RA] PC-Temp leftarrow PC, PC leftarrow [RA] PC-Tempe leftarrow [PC], PC leftarrow [RA]

Explanation / Answer

1)Assembler is a program which translates an assembly language program into a machine language program is called an assembler.Assembler assigns the memory addresses to the data and variables and translates the source code into machine code . Ans is : For data and text

2)The machine code stored in register files for execution at a later time. After that source code may be interpreted and executed immediately. Ans: Saved in processor register file.

3)The representation is:

PC-Temp <-- [PC], PC<--[RA].

because here,initially pc are stored in pc -temp hance pc is sender and it is represented in

[], As like in case of RA to PC.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote