< Embedded Systems
ARM Instruction Set Format
Instruction Type31302928272625242322212019181716151413121110 9 8 7 6 5 4 3 2 1 0
Branch and Branch with Link Cond 101L 24-bit signed word offset
Branch and Branch with Link and eXchange Cond 0001001011111111111100L1 Rm
1111101H 24-bit signed word offset
Software Interrupt (SWI) Cond 1111 24-bit (interpreted) immediate
Data Processing Instructions Cond 00I opcode S Rn Rd operand2
Multiply Instructions Cond 0000 mul S Rd/RdHi Rn/RdLo Rs 1001 Rm
Count Leading Zeros Cond 000101100000 Rd 00000001 Rm
Data Transfer Instructions Cond 01IPUBWL Rn Rd operand2
Cond 000PUIWL Rn Rd offsetH 1SH1 offsetL
Multiple Register Transfer Instructions Cond 100PUSWL Rn register list
Swap Memory and Register Instruction Cond 00010B00 Rn Rd 00001001 Rm
Status Register <=> General Register Transfer Instructions Cond 00010R001111 Rd 000000000000
Cond 00I10R10 field 1111 operand
Coprocessor Data Operations Cond 1110 Cop1 CRn CRd CP# Cop20 CRm
Coprocessor Data Transfers Cond 110PUNWL Rn CRd CP# 8-bit offset
Coprocessor Register Transfers Cond 1110 Cop1 L CRn Rd CP# Cop21 CRm
Breakpoint Instruction 111000010010 xxxxxxxxxxxx 0111xxxx

We go into more detail on how to use ARM instructions in ARM Microprocessors.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.