What will be output of following c program? Code: void main() { clrscr(); asm{ mov ax,61; mov bx,10; add bx,ax; } printf("\n%d",_BX); getch(); }
ax and bx is general purpose register. Statement mov ax,61 means value 61 is storing at register ax. Statement add bx, ax mean addition of content of register bx i.e 10 and content of register ax i.e. 61 and result of addition is storing at register bx.