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, ...)
==== Miscellaneous Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|NOP
|<<NOPINSTR>>
|SVC
|<<SVCINSTR>>
|===
<<<
include::instructions/nop.adoc[]
<<<
include::instructions/svc.adoc[]
<<<
==== Memory-Related Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|LDR
|<<LDRINSTR>>
|LDRH
|<<LDRHINSTR>>
|LDRC
|<<LDRCINSTR>>
|===
<<<
include::instructions/ldr.adoc[]
<<<
include::instructions/ldrh.adoc[]
@ -37,12 +62,40 @@ include::instructions/ldrc.adoc[]
<<<
==== Register Manipulation Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|MOV
|<<MOVINSTR>>
|MOVN
|<<MOVNINSTR>>
|===
<<<
include::instructions/mov.adoc[]
<<<
include::instructions/movn.adoc[]
<<<
==== 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/bx.adoc[]
@ -53,6 +106,17 @@ include::instructions/blx.adoc[]
<<<
==== Subsystems Instructions
[frame=ends,grid=rows,cols="1,1"]
|===
|Instruction | Description
|SSR
|<<SSRINSTR>>
|SSW
|<<SSWINSTR>>
|===
<<<
include::instructions/ssr.adoc[]
<<<
include::instructions/ssw.adoc[]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,4 @@
[id=MOVINSTR]
===== MOV: Move to Register
[wavedrom, ,svg]
....
@ -67,7 +68,7 @@ Exceptions::
====== MOVI: Move Immediate to Register
Description::
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
Assembler syntax::
+

View File

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

View File

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

View File

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

View File

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

View File

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