Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Assembly

Name: Anonymous 2008-05-08 22:38

Hello, I had a question about incrementing a pointer to the next element in an array!  For my project I am programming in Assembly, specifically in LC-3.  Anyway.

Would something like this

GETC
STR R0, R4
ADD R4, #1
(loop)

Take the value with GETC, store it in the array element R4 is pointing at, and advance the pointer to the next element? I am afraid It might just add 1 to the value AT r4, rather than incrementing the pointer 1, which is its intended purpose.  Any help?

Name: Anonymous 2008-05-09 8:33

OP, I want to see you reading at least one CS paper per week, and learning every living language you hear about well enough to read it. You can study the history of programming in your spare time.
Quite bullshit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List