Learn with SHAKTI

CS2610: Assembly Language Lab



Assignment 2


Write RISC-V assembly program to translate the following 'C' constructs

while loop

for loop

repeat .. until

if condition

pointers


Note: For "statement/expressions" assume a valid programming statement or expression.