In the Ninjaforce assembler when you do a:
LDA #"A"
It assembles without the high bit set. Doesn't play nice with COUT and
KYBD reading. Is there a way to force it to a high bit or am I stuck converting everything to hex? Didn't see anything in the docs....
In the Ninjaforce assembler when you do a:
LDA #"A"
It assembles without the high bit set. Doesn't play nice with COUT and
KYBD reading. Is there a way to force it to a high bit or am I stuck converting everything to hex? Didn't see anything in the docs....
In the Ninjaforce assembler when you do a:
LDA #"A"
It assembles without the high bit set. Doesn't play nice with COUT and
KYBD reading. Is there a way to force it to a high bit or am I stuck converting everything to hex? Didn't see anything in the docs....
Duhast wrote:
In the Ninjaforce assembler when you do a:
LDA #"A"
It assembles without the high bit set. Doesn't play nice with COUT and
KYBD reading. Is there a way to force it to a high bit or am I stuck
converting everything to hex? Didn't see anything in the docs....
Maybe:
MSB ON
MSB Operand is either ON or OFF. - Takes effect on ASC and STR
commands.
http://www.ninjaforce.com/html/products_nf_assembler_documentation.html
-----
My own cross assembler has this option but I haven't ported it to the Apple IIGS:
# asm --help|grep '\-8' -
-8 Set 8th bit of ASCII characters
# echo 'LDA #"A" '|asm -8|mondump -r|6502
A=AA X=00 Y=00 S=00 P=22 PC=0300 0
0300- A9 C1 LDA #$C1 A=C1 X=00 Y=00 S=00 P=A0 PC=0302 2
0302- 00 BRK A=C1 X=00 Y=00 S=FD P=A0 PC=0000 9
0000! end
On 09/05/2024 23.14, mmphosis wrote:
Duhast wrote:
In the Ninjaforce assembler when you do a:
LDA #"A"
It assembles without the high bit set. Doesn't play nice with COUT and >>> KYBD reading. Is there a way to force it to a high bit or am I stuck
converting everything to hex? Didn't see anything in the docs....
Maybe:
MSB ON
MSB Operand is either ON or OFF. - Takes effect on ASC and STR
commands.
http://www.ninjaforce.com/html/products_nf_assembler_documentation.html
-----
I don't know if this is relevant to your issue, but SC Assembler on the
Apple treats single and double quotes differently. Maybe your assembler does too.
0800- A9 41 1000 LDA #'A'
0802- A9 C1 1010 LDA #"A"
MSB ON doesn't seem to have an effect with LDA #"A", looks like I'm
going to have to do a +128 on every one.
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 18:56:28 |
| Calls: | 12,103 |
| Calls today: | 3 |
| Files: | 15,004 |
| Messages: | 6,518,087 |