Assembly language programming by c programming
language using asm keyword questions, answers and explanation
(1) What will be
output of following c program?
#include
int main(){
asm{
mov ax,61;
mov bx,10;
add bx,ax;
}
printf("\n%d",_BX);
return 0;
}
Output: 71
Explanation:
ax and bx is
general purpose register.
No comments:
Post a Comment