We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I stumbled into this ...
THUMB assembler fails to assemble these lines:
LDRH R0,CONFIG ; should load 0x5678 into R0 LDRHT R1,CONFIG ; should load 0x1234 into R1 MOV PC,LR NOP
Gives these errors:
Pass 1... Error: Unknown operands combo for 'LDRH' at src/foo.asm:11.
and
Pass 1... Error: Unknown instruction 'LDRHT' at src/foo.asm:12
Assembling with gnu-as it gives the following object code:
0: f8bf 0008 ldrh.w r0, [pc, #8] ; c <CONFIG> 4: f8bf 1004 ldrh.w r1, [pc, #4] ; c <CONFIG> 8: 46f7 mov pc, lr a: bf00 nop 0000000c <CONFIG>: c: 12345678 .word 0x12345678 10: 00000000 .word 0x00000000
Regards.
The text was updated successfully, but these errors were encountered:
Just complementing the ARM Architecture Reference Manual Thumb-2 Supplement documentation where it says in section 1.5.1:
New T variants of LDR and STR The ARM LDRH, LDRSB, LDRSH and STRH instructions now have T variants.
Sorry, something went wrong.
No branches or pull requests
Hi, I stumbled into this ...
THUMB assembler fails to assemble these lines:
Gives these errors:
and
Assembling with gnu-as it gives the following object code:
Regards.
The text was updated successfully, but these errors were encountered: