|
|
|
@ -49,9 +49,10 @@ Registers:
|
|
|
|
|
Special:
|
|
|
|
|
ZERO = 00000000 R 8bit
|
|
|
|
|
FULL = 00000001 R 8bit
|
|
|
|
|
DBGO = 00000010 W Debug output 8bit
|
|
|
|
|
DBGI = 00000011 R Debug input 8bit
|
|
|
|
|
DBGO = 00000010 W Debug output 8bit
|
|
|
|
|
DBGI = 00000011 R Debug input 8bit
|
|
|
|
|
PGCR = 00000100 R/W Program Counter 5bit
|
|
|
|
|
GPIO = 00000101 R/W 8bit
|
|
|
|
|
|
|
|
|
|
Example program (Human readable + binary):
|
|
|
|
|
OPCODE A B
|
|
|
|
@ -112,6 +113,11 @@ Programming information:
|
|
|
|
|
|
|
|
|
|
Can be used to store data some data in RAM since they dont use all 24 bits
|
|
|
|
|
|
|
|
|
|
For people working with GPIO:
|
|
|
|
|
When you try to read GPIO it sends the read pulse
|
|
|
|
|
you do not need to make it read and this can be used as a general pulse
|
|
|
|
|
same thing happens with read
|
|
|
|
|
|
|
|
|
|
Control bus:
|
|
|
|
|
Layer one:
|
|
|
|
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
|
|
|
@ -126,10 +132,10 @@ Control bus:
|
|
|
|
|
|
|
|
|
|
Layer two:
|
|
|
|
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
|
|
|
|
A A A A A A A A A X X X X X X X X X X X X X X X
|
|
|
|
|
L L L L L L L L C
|
|
|
|
|
U U U U U U U U C
|
|
|
|
|
- - - - - - - - R
|
|
|
|
|
A B N A S O X A
|
|
|
|
|
A A A A A A A A A G G X X X X X X X X X X X X X
|
|
|
|
|
L L L L L L L L C P P
|
|
|
|
|
U U U U U U U U C I I
|
|
|
|
|
- - - - - - - - R O O
|
|
|
|
|
A B N A S O X A R W
|
|
|
|
|
W W O D U R O N
|
|
|
|
|
T D B R D
|
|
|
|
|