| Next-in-Thread | Next Message |
|
Well, good news and bad news (I guess). First, great luck with the class - hopefully it won't go too in depth into assembly in order for you to make it through the class. Look for a book on the web called "The Art of Assembly Language", The full text (or pdf) is available, and it is a great resource.
As for your specific questions: MOV x,y - Moves value of y into x (replaces x with y) MPY x,y,z - I find no reference to this as an assembly instruction (however, I am by no means a "guru") Also, I deal in 80x86 asm as well......sooooooo....
ADD x,y,z - Add is used for 2 operands at a time, so would need to use form such as J: = x+y+z. In assembly ,this could be coded as mov ax, X ;(move value of x to accumulator register (ax) add ax, Y ;Add value Y to ax - now is X+Y) add ax, Z ;Add value Z to ax - now ax=X+Y+Z) mov J, ax ; moves sum of X+Y+Z to value J) Sorry if this is so basic, but I am learning assembly as well, and like other languages, there are many ways to accomplish the same task. Hope this helped nonetheless. Again, search the web for the Art of Assembly Language. This book is approx 1500 pages and it is REALLY terrific. Good luck - and if I can help, lemm know. david@phc.net
|
| Next-in-Thread | Next Message |
| Inline: | 1 | All | Outline: | 1 | 2 | All |
| Add |
to: |
| Members | Subscribe | Admin Mode |
| Show Frames | Help |
|
|