Created
November 15, 2021 01:05
-
-
Save profi200/697348d0f8f9b334968edf3fb4a7eed8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ u32 pcTest(void) | |
@ Expected result is pc + 8 but it's pc + 10 on ARM7. | |
BEGIN_ASM_FUNC pcTest | |
ldr pc, =pcTest_mov + 2 | |
pcTest_mov: | |
mov r0, pc | |
bx lr | |
END_ASM_FUNC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment