in reply to Re: Re: Re: Z80 Assembler -> Hex Opcode
in thread Z80 Assembler -> Hex Opcode
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."
- Dr. Jones Snr, Indiana Jones and the Last Crusade
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Z80 Assembler -> Hex Opcode
by tachyon (Chancellor) on Feb 09, 2003 at 15:41 UTC |