Some beginner questions about assembler in Mdk-arm.

1. How to write several instructions on one line? For example, 3 NOP instructions?

2. Why is the instruction not blue? uVison in .s file automatic automatically istrukcion shows blue in the following statement is blue MOV and STRT, but ANDS is black. Why?

MOV   r0, r12
STRT  r2, [r1,#16]        
ANDS  r0, #0x80

Parents Reply Children
More questions in this forum