Professional Documents
Culture Documents
Similarities:
Both of them use registers to transfer data
Registers:
- ARM: R13 (Stack Pointer –> SP in 8086)
- ARM: R15, Program Counter (PC) -> points to the next instruction to
be fetched from memory (like the IP (Instruction Pointer) register of
8086)
- ARM and 8086 have registers to show status (Flag registers in 8086
and Status registers in ARM)
Use stack structure and little endian
Differences:
- Data: - Data:
A word = 16 bit data A halfword = 16 bit data
A word = 32 bit data
- Instructions: - Instructions:
Depend on each instruction All are halfword aligned (16 bit)
- Stack: - Stack:
Only 1 stack Divided into 2 stacks: The Main
Stack and The Process Stack