Wednesday, July 10, 2013

Explain arithmetic microoperation.



The arithmetic operations like addition, subtraction, increment, decrement etc performed on the numeric data stored in the register is known as arithmetic microoperation. It can be defined in RTL by:
R1←R2+R3   (The content of R2 and R3 is added and stored in R1)
R1←R1-R2  (R2 is subtracted from R1 and the result is stored in R1)
R1←R1+1  (R1 is incremented by 1)
R1←R1-1   (R1 is decremented by 1)

2 comments: