CORTEX M4 instruction set

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CORTEX M4 instruction set

711 Views
SunilKalivarapu
Contributor I

is there any possibility of using ROL instruction as there is no opcode provided for that instruction in technical reference manual.

0 Kudos
Reply
1 Reply

690 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following assembly code:

Examples
nop

nop
ROR R4, R5, R6 ; Rotate right by the value in the bottom byte of R6

nop

nop

 

You can use the MCUXPresso tools to compile the code and download,  in the debugger, check the op code.

Hope it can help you

BR

XiangJun Rong

0 Kudos
Reply