Question History! |
|
From |
: |
lrasmussen |
|
To |
: |
saintly |
User Comment |
: |
I am programming more for Linux, so that link will be of great help. Thanks so much for handling all of my questions! |
Rating |
: |
|
Message Status |
: |
Public |
|
[08-05-2000] lrasmussen : I am wondering about assembly programming. I have read a book about it, but am still looking for more. One main question I have is, is there any way to read/write to RAM? If so, how or where can I find more. Thanks a bunch!
|
|
[08-06-2000] saintly : There are several different platforms, each with their own style of assembler programming. Intel x86 assembler, Macintosh 68k and Mac PowerPC assembler, not to mention mainframe assembler.
On the Intel platform, there are different techniques for accessing memory depending on the chip you are using. Typically (or at least typical for when I was programming Assembler, times may have changed), you use the MOV instruction to copy data between memory locations and registers. You cannot copy data directly between memory locations. The general format for the MOV instruction is
MOV ,
|
|
[08-06-2000] saintly : Oh Ick. I used angle-brackets in my definition of the MOV command and they got trashed. Here is the syntax for the MOV command:
MOV < destinateion >,< source >
|
|
|