Assembly Test 1

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/6

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

maxS16

MOV R0, x
MOV R1, y
CMP R0, R1
MOVGT R0, R0
MOVLE R0, R1
BX LR

2
New cards

maxU32

MOV R0, x
MOV R1, y
CMP R0, R1
MOVLO R0, R1
BX LR

3
New cards

isGreaterThanU16

MOV R0, x
MOV R1, y
CMP R0, R1
MOVHI R0, #1
MOVLS R0, #0
BX LR

4
New cards

isGreaterThanS16

MOV R0, x
MOV R1, y
CMP R0, R1
MOVGT R0, #1
MOVLE R0, #0
BX LR

5
New cards

isBitSetU32

MOV R0, x
MOV R1, bit
MOV R2, #1
LSL R2, R2, R1
TST R0, R2
MOVNE R0, #1
MOVEQ R0, #0
BX LR

6
New cards

isMultOf4U32

MOV R0, x
MOV R1, y
TST R0, #3
MOVEQ R0, #1
MOVNE R0, #0
BX LR

7
New cards

isEqualU16

MOV R0, x
MOV R1, y
CMP R0, R1
MOVEQ R0, #1
MOVNE R0, #0
BX LR