Which command will you use to call a function?
QUESTION
Which command will you use to call a function?
a) BFUNC
b) CALL
c) BL
d) BLT
ANSWER
c) BL
In ARM assembly language, the BL command is used to call a function. BL stands for Brach with Link.
QUESTION
Which command you may use to return from a function?
a) GOTO
b) RET
C) BX
d) BLO
ANSWER
c) BX
In ARM assembly language, the BX command is used to return from a function. A function can return by moving the contents of the LR register back to PC using the BX command on storing the instruction into the link register.
QUESTION
Which command will move more than one register into memory?
a) STR
b) LDR
c) POP
d) PUSH
ANSWER
d) PUSH
PUSH command will store multiple registers onto the stack and updates the stack pointer. The suitable option is a push.