Ah, found the problem,
a) poor understanding of scoping on my part and b) when I first ran as you described, I had the declaration of %opcodes after the main loop containing the call to encode() so, in effect, the declaration never took place until after the program had effectively run its course.
You live and learn.
Elgon
"What this book tells me is that goose-stepping morons, such as yourself, should read books instead of burning them."
In reply to Re: Re: Re: Re: Z80 Assembler -> Hex Opcode
by Elgon
- Dr. Jones Snr, Indiana Jones and the Last Crusade
in thread Z80 Assembler -> Hex Opcode
by Elgon
For:
Use:
& & < < > > [ [ ] ]