Author |
Message |
bass_maniac
|
Posted: Sat Nov 25, 2006 4:34 pm Post subject: Turing: PEEK and POKE commands |
|
|
I've been reading a book on assembly language and one of the projects it has you do is write a program to interact with the RAM. The book is from 1984 and uses BASIC. The program is simple enough to be written in Turing, but I need to know Turing's equivalent to BASIC's PEEK and POKE commands (if it has any). I need to be able to search the memory and change values therein.
I noticed in the Help file Turing has an addr command, but the help file wasn't very clear on what it was or how to use it. Is this what I'm looking for?
Any help appreciated |
|
|
|
|
|
Sponsor Sponsor
|
|
|
wtd
|
Posted: Sat Nov 25, 2006 6:13 pm Post subject: (No subject) |
|
|
If I may ask, how do you feel that a book on assembly is going to help you learn Turing?
Or, if you are trying to learn how to write programs in assembly language, how do you feel that writing programs in Turing will help you learn assembly language?
I just want to try to help you avoid a waste of time that I suspect at this point will simply result in frustration. |
|
|
|
|
|
bass_maniac
|
Posted: Sat Nov 25, 2006 6:32 pm Post subject: (No subject) |
|
|
I'm not learning Turing. I've been using Turing for years. I just need help understanding some of the advanced commands available.
In the book you write a program in BASIC that allows you to program the computer in assembly language (the book is called "6502 Machine & Assembly Language Programming" by Mike Smith). I do not want to use BASIC. I already know Turing so I want to use it instead.
Can anyone answer my question? |
|
|
|
|
|
wtd
|
|
|
|
|
wtd
|
|
|
|
|
bass_maniac
|
Posted: Sun Nov 26, 2006 9:14 pm Post subject: (No subject) |
|
|
OK, thanks for your help wtd. I'll see if I can get it working. |
|
|
|
|
|
|