Search found 3 matches
- Tue Dec 28, 2004 7:19 am
- Forum: Programming
- Topic: do you like 6502, do you want to program anywhere?
- Replies: 10
- Views: 5040
- Tue Dec 28, 2004 6:49 am
- Forum: Programming
- Topic: what is wrong with "stz" on earth?
- Replies: 4
- Views: 3336
maybe it is a problem of assembler
firstly thank you all.
basically,I know the difference of "64.." and "9c..." that generated from "STZ", and then that is my point I don't understand. "STZ YEAR" there should be correspondant to "64.."not "9c.."and so I think it is my assembler's fault.
The assembler i am making use, i think, may ...
basically,I know the difference of "64.." and "9c..." that generated from "STZ", and then that is my point I don't understand. "STZ YEAR" there should be correspondant to "64.."not "9c.."and so I think it is my assembler's fault.
The assembler i am making use, i think, may ...
- Mon Dec 27, 2004 7:25 am
- Forum: Programming
- Topic: what is wrong with "stz" on earth?
- Replies: 4
- Views: 3336
what is wrong with "stz" on earth?
I am confused when i use "stz" to clear memory that located in zero page in w65c02s instruction sets.
first I defined
year equ e4h
then .......
stz year
the confusion appeared.after compiled,the instruction opcode is "9c e5 00" rather than "64 e5"that i think reasonable.So when the program runs ...
first I defined
year equ e4h
then .......
stz year
the confusion appeared.after compiled,the instruction opcode is "9c e5 00" rather than "64 e5"that i think reasonable.So when the program runs ...