Search found 4 matches

by tano6502
Sat Sep 11, 2010 12:56 am
Forum: Programming
Topic: assembler mechanics question
Replies: 10
Views: 4170

Yes, I know how Tex does :-)
Thanks,
tano
by tano6502
Thu Sep 09, 2010 7:36 pm
Forum: Programming
Topic: assembler mechanics question
Replies: 10
Views: 4170

assembler mechanics question

Hello,
my question is about how 6510 assemblers resolve symbol
names and choose the right opcode when in doubt
between page zero and absolute addressing modes.
Look at this dummy example:

org $0000

ep1: lda label4
ret

label1: resb 1

ep2: lda label3
ret

label2: resb 1

ep3: lda label2
ret ...
by tano6502
Mon Apr 20, 2009 10:21 am
Forum: Emulation and Simulation
Topic: cpu initial state
Replies: 4
Views: 6570

Thanks! I forget to specify that I intend the NMOS version.
Looking in emulators source code I noted that reset code
seems also to clear all registers (a, x and y), and set the Zero
flag. Naturally the stack pointer should be set to 0x01ff.
But I think these are additions in respect to the natural ...
by tano6502
Sun Apr 19, 2009 10:28 pm
Forum: Emulation and Simulation
Topic: cpu initial state
Replies: 4
Views: 6570

cpu initial state

Hello,
what are exactly the state of the cpu registers and flags at startup
(or after a reset)? Datasheets and many docs on the net seems
not to answer this (perhaps obvious) question.
Thanks,
tano