0 votes 0 votes Suppose d= 5+ e then how many register are used to calculate d i am confused as it is 2 or 3 ?? Compiler Design compiler-design register-allocation descriptive + – Çșȇ ʛấẗẻ asked Dec 30, 2016 • retagged Jun 22, 2022 by Lakshman Bhaiya Çșȇ ʛấẗẻ 212 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes MOV R1,E (Move value of E to R1) ADD R1,#5 (Add value of R1 & 5 and store in R1 ) MOV D,R1 (Move value of R1 to memory location D) Hence only 1 register is enough Prajwal Bhat answered Dec 30, 2016 • selected Jan 1, 2017 by sudsho Prajwal Bhat comment Share Follow See all 0 reply Please log in or register to add a comment.