Still the assembly program is not behaving.
So I've uploaded the complete source code.
What's wrong? The 2nd pass of the assembly errs out at line 362.
It claims that the label "output" is not defined.
But it most definitively is.
And I tried different names as well. Same problem.
For test, I also made a comment out of this instruction.
Then it goes one line more and the same error for "in"
This is the case for almost all the jmp instructions. (Reset en NMI go ok, as do a couple more)
BTW: I've also seen that adding .b or .f with a label in the BNE or BEQ doesn't work in this assembler. (I'll correct that)
Code: Select all
sec1.20 .ds 1 ;Count 1/20 of secondsKlaus mentioned the cascading effect that one error can have on subsequent assembly. It could be the erroneous label sec1.20 is the primary cause of assembly failure.
Code: Select all
enemi jmp [nmivector] ;indirect NMI JMP
ierqu jmp [irqvector] ;indirect IRQ JMPCode: Select all
enemi jmp (nmivector) ;indirect NMI JMP
ierqu jmp (irqvector) ;indirect IRQ JMP