Computer Science, asked by abdulrasheed835, 1 year ago

Explain simple code generation algorithm with suitable example

Answers

Answered by boxa2
1
A Simple Code Generator
• Generate code for a single basic block
• How to use registers?
– In most machine architectures, some or all of the
operands must be in registers registers
– Registers make good temporaries
– Hold values that are computed in one basic block
and used in other blocks
– Often used with run‐time storage management
Similar questions