This is some of my rough works.
adc r2, r0, r1 ; r2 = r0 + r1 + carry bit
Arm architecture reference manual.pdf is a good reference for to learn ARM Architecture.
The subroutine return is performed by copying R14 back to the program counter.
This is typically done in one of the two following ways:
MOV PC,LR
BX LR
adc r2, r0, r1 ; r2 = r0 + r1 + carry bit
Arm architecture reference manual.pdf is a good reference for to learn ARM Architecture.
The subroutine return is performed by copying R14 back to the program counter.
This is typically done in one of the two following ways:
MOV PC,LR
BX LR