Re: 64tass assembler peculiarity
Posted: Tue Apr 04, 2017 2:29 pm
Looking at the 64tass manual, a [$xxxx] can be a long indirect which is not what you wanted. Of course a ($xxxx) can be an indirect which isn't what you want either, but they can also set order of operation. I think since the *2 is outside the () it will be used to set order of operation.
You can assemble with a listing file. I would do that and see what the actual bytes that line of code generates--that will tell you how it behaved and then you can decide if that's how you think it should have behaved.
Bottom line is that I think you are okay.
Glad you found min_mon. I wasn't sure if that was part of the EhBasic package or something that someone else added. I've been focused on OSI 6 digit basic and had set EhBasic to the side but plan to pick it up again soon. I got bogged down in expanding the monitor portion to something more powerful. At this point I'm thinking I'll a single EPROM that I'll page with OSI basic, EhBasic, the expanded monitor and then something yet to be determined.
You might want to consider converting the min_mon that comes with Symon, assembling the whole thing, and seeing if it working in Symon. If it does, then you only need to modify min_mon to fit the IO on your system.
Jim
You can assemble with a listing file. I would do that and see what the actual bytes that line of code generates--that will tell you how it behaved and then you can decide if that's how you think it should have behaved.
Bottom line is that I think you are okay.
Glad you found min_mon. I wasn't sure if that was part of the EhBasic package or something that someone else added. I've been focused on OSI 6 digit basic and had set EhBasic to the side but plan to pick it up again soon. I got bogged down in expanding the monitor portion to something more powerful. At this point I'm thinking I'll a single EPROM that I'll page with OSI basic, EhBasic, the expanded monitor and then something yet to be determined.
You might want to consider converting the min_mon that comes with Symon, assembling the whole thing, and seeing if it working in Symon. If it does, then you only need to modify min_mon to fit the IO on your system.
Jim