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.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.