Question: Given an 8 - bit processor with general purpose register set R = { r 0 , r 1 , r 2 , r 4
Given an bit processor with general purpose register set a set of memory variables cdots and a set of all possible immediate values I. The instruction set of the target machine contains the following instructions:
MOV ;xlarrY, ADD ;xlarrx SUB ;xlarrx MUL ;
DIV ;xlarr; compares the values in and
jump to level if after the execution of a ; where lincdots
unconditional jump to level where lincdots
For MOV if xinR then YinRI; if xinM, then YinR.
For ADD,SUBDIV and ;xinR and YinRI.
An is required whenever there is a shortage of registers during code generation.
a Write the address intermediate code the following code fragment.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
