Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int main()
- {
- short a = 100;
- short b = 100;
- short c;
- _asm{
- mov ax,a
- mov bx,b
- add ax,bx
- mov c,ax
- }
- cout << c << endl;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement