arm-gcc składnia instrukcji w asm

Aug 28, 2009 2 Replies

Witam !


  1. Co oznacza kropka w instrukcjach asm np.

b . ldr r0,[PC #2000 - . - 8]


  1. Zauważyłem, że zamiast etykiety stosowana jest liczba a adres skoku też jest dziwnie podawany. Co oznacza liczba zamiast etykiety np.:


1: ldr r0, [r1, #PMC_SR_OFFSET] tst r0, #PMC_SR_MOSCS beq 1b


1: ldr r0, [r1, #PMC_SR_OFFSET] tst r0, #PMC_SR_MCKRDY beq 1b


Paweł


Paweł pisze:

formatting link

formatting link

... i wszystko stało się jasne.

Dziękuję !

Paweł

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required