|
-
February 21st, 2012, 10:09 AM
#1
New to Assembly Language
I have a problem...
Write a program in assembly language to perform the following operation:
C=A + B
Consider A=7, B= 148 (hexadecimal)
The origin of the program is 100 (hexadecimal)
Would this be a Fortran program?
If so, I had this...
INTEGER A,B,C
DATA A,7 B,148
C=A+B
END
Is this correct?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|