RosettaCodeData/Task/Jump-anywhere/ARM-Assembly/jump-anywhere-1.arm
2023-07-01 13:44:08 -04:00

2 lines
197 B
Text

MOV PC,R0 ;loads the program counter with the value in R0. (Any register can be used for this)
LDR PC,[R0] ;loads the program counter with the 32-bit value at the memory location specified by R0