Added an index to the instruction variants for each instruction
All checks were successful
Central(Architecture) Docs Build / Build Documentation (push) Successful in 19s

This commit is contained in:
Elyan 2024-11-11 15:30:03 +01:00
parent 8d188df8d1
commit 08b9165902
14 changed files with 78 additions and 6 deletions

View File

@ -23,12 +23,37 @@ include::instructions-operands-encoding.adoc[]
* system mode instructions (svc, uret, sret, ...) * system mode instructions (svc, uret, sret, ...)
==== Miscellaneous Instructions ==== Miscellaneous Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|NOP
|<<NOPINSTR>>
|SVC
|<<SVCINSTR>>
|===
<<<
include::instructions/nop.adoc[] include::instructions/nop.adoc[]
<<< <<<
include::instructions/svc.adoc[] include::instructions/svc.adoc[]
<<< <<<
==== Memory-Related Instructions ==== Memory-Related Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|LDR
|<<LDRINSTR>>
|LDRH
|<<LDRHINSTR>>
|LDRC
|<<LDRCINSTR>>
|===
<<<
include::instructions/ldr.adoc[] include::instructions/ldr.adoc[]
<<< <<<
include::instructions/ldrh.adoc[] include::instructions/ldrh.adoc[]
@ -37,12 +62,40 @@ include::instructions/ldrc.adoc[]
<<< <<<
==== Register Manipulation Instructions ==== Register Manipulation Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|MOV
|<<MOVINSTR>>
|MOVN
|<<MOVNINSTR>>
|===
<<<
include::instructions/mov.adoc[] include::instructions/mov.adoc[]
<<< <<<
include::instructions/movn.adoc[] include::instructions/movn.adoc[]
<<< <<<
==== Branching Instructions ==== Branching Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|B
|<<BINSTR>>
|BX
|<<BXINSTR>>
|BL
|<<BLINSTR>>
|BLX
|<<BLXINSTR>>
|===
<<<
include::instructions/b.adoc[] include::instructions/b.adoc[]
<<< <<<
include::instructions/bx.adoc[] include::instructions/bx.adoc[]
@ -53,6 +106,17 @@ include::instructions/blx.adoc[]
<<< <<<
==== Subsystems Instructions ==== Subsystems Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|SSR
|<<SSRINSTR>>
|SSW
|<<SSWINSTR>>
|===
<<<
include::instructions/ssr.adoc[] include::instructions/ssr.adoc[]
<<< <<<
include::instructions/ssw.adoc[] include::instructions/ssw.adoc[]

View File

@ -1,3 +1,4 @@
[id=BINSTR]
===== B: Branch ===== B: Branch
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=BLINSTR]
===== BL: Branch with Link ===== BL: Branch with Link
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=BLXINSTR]
===== BLX: Branch with Link Extended ===== BLX: Branch with Link Extended
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=BXINSTR]
===== BX: Branch Extended ===== BX: Branch Extended
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=LDRINSTR]
===== LDR: Load Register ===== LDR: Load Register
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=LDRCINSTR]
===== LDRC: Load Register Character ===== LDRC: Load Register Character
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=LDRHINSTR]
===== LDRH: Load Register Halfword ===== LDRH: Load Register Halfword
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,3 +1,4 @@
[id=MOVINSTR]
===== MOV: Move to Register ===== MOV: Move to Register
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....
@ -67,7 +68,7 @@ Exceptions::
====== MOVI: Move Immediate to Register ====== MOVI: Move Immediate to Register
Description:: Description::
Sets a destination register to the value given in the immediate field. + Sets a destination register to the value given in the immediate field. +
To set a negative value, use <<MOVNI>>. To set a negative value, use <<MOVNINSTR>>.
Encoding:: C-Type Encoding:: C-Type
Assembler syntax:: Assembler syntax::
+ +

View File

@ -1,4 +1,4 @@
[id=MOVNI] [id=MOVNINSTR]
===== MOVN: Move Negative Immediate to Register ===== MOVN: Move Negative Immediate to Register
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,4 +1,4 @@
[id=NOP] [id=NOPINSTR]
===== NOP: No Operation ===== NOP: No Operation
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,4 +1,4 @@
[id=SSR] [id=SSRINSTR]
===== SSR: Subsystem Register Read ===== SSR: Subsystem Register Read
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,4 +1,4 @@
[id=SSW] [id=SSWINSTR]
===== SSW: Subsystem Register Write ===== SSW: Subsystem Register Write
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....

View File

@ -1,4 +1,4 @@
[id=SVC] [id=SVCINSTR]
===== SVC: Supervisor Call ===== SVC: Supervisor Call
[wavedrom, ,svg] [wavedrom, ,svg]
.... ....