Maschinensprache - Kurzübersicht


Index


Mnemonics

MnemonicCodeWirkungFlags#ZyklenBemerkung
C Z
ADB20(P)+A->(P)* *15P+1->P
(P+1)+B+C->(P+1)
ADCM196(P)+A+C->(P)* *13
ADIA n116,nA+n->A* *24
ADIM n112,n(P)+n->(P)* *24
ADM68(P)+A->(P)* *13
ADN12(P)+A->(P)...* *17+3*IP-I-1->P
(P-I)+C->(P-I)BCD
ADW14(P)+(Q)->(P)...* *17+3*IP-I-1->P
(P-I)+(Q-I)+C->Q-I-2->Q
(P-I)BCD
ANIA n100,nA AND n->A- *24
ANID n212,n(DP) AND n>(DP)- *26
ANIM n96,n(P) AND n->(P)- *24
ANMA70(P) AND A->(P)- *13
CAL nm224,n,mPC+2>(R-1,R-2)- -270<=n<=31
R-2->R, nm->PC
CALL nm120,n,mPC+3->(R-1,R-2),- -38
R-2->R, nm->PC
CPIA n103,nA-n* *24
CPIM n99,n(P)-n* *24
CPMA199(P)-A* *13
DATA53(BA)...(BA+1)->- -111+4*Iauch für
(P)...(P+1)int. ROM
DECA67A-1->A* *142->Q
DECB195B-1->B* *143->Q
DECI65I-1->I* *140->Q
DECJ193J-1->J* *141->Q
DECK73K-1->K* *148->Q
DECL201L-1->L* *149->Q
DECP81P-1->P- -12
DECV75V-1->V* *1410->Q
DECW203W-1->W* *1411->Q
DX5X-1->X, X->DP- -165->Q
DXL37X-1->X, X->DP,- -175->Q
(DP)->A
DY7Y-1->Y, Y->DP167->Q
DYS39Y-1->Y, Y->DP,- -177->Q
A->(DP)
ETC105FOR i=1 TO H- *)1)
n,mn,nmIF A=n nm->PC
...NEXT i
nm
EXAB218A<->B- -13
EXAM219A<->(P)- -13
EXB11(P)...(P+J)<->- -16+3*JP+J+1->P
(Q)...(Q+J)Q+J+1->Q
EXBD27(P)...(P+J)<->- -17+6*JP+J+1->p
(DP)...(DP+J)DP+J->DP
EXW9(P)...(P+I)<->- -16+3*IP+I+1->P
(Q)...(Q+I)Q+I+1->Q
EXWD25(P)...(P+I)<->- -17+6*IP+I+1->P
(DP)...(DP+I)DP+I->DP
FILD31A->(DP)...(DP+I)- -14+3*1DP+I->DP
FILM30A->(P)...(P+I)- -15+IP+I+1->P
INA76IA-Port->A- *12
IMB204IB-Port->A- *12
INCA66A+1->A* *142->Q
INCB194B+1->B* *143->Q
INCI64I+1->I* *14
IMCJ192J+1->J* *141->Q
INCK72K+1->K* *148->Q
JNCL200L+1->L* *149->Q
INCP80P+1->P- -12
INCV74V+1->V* *1410->Q
INCW202W+1->W* *14
IX4X+1->X, X->DP- -165->Q
IXL36X+1->X, X->DP,- -175->Q
(DP)->A
IY6Y+1->Y, Y->DP- -167->Q
IYS38Y+1->Y, Y->DP,- -177->Q
A->(DP)
JP nm121,n,mnm->PC- -36
JPC nm127,n,mIF C=1 nm->PC- -36
JPNC nm125,n,mIF C=0 nm->PC- -36
JPNZ nm124,n,mIF Z=0 nm->PC- -36
JPZ nm126,n,mIF Z=1 nm->PC- -36
JPZM n57,nIF Z=1- -27/4
PC+1-n->PC
JRCN n59,nIF C=1- -27/4
PC+1-n->PC
JRCP n58,nIF C=1- -27/4
PC+1+n->PC
JRM n45,nPC-1-n->PC- -27
JRNCM n43,nIF C=027/4
PC+1-n->PC
JRNCP n42,nIF C=0- -27/4
PC+1+n->PC
JRNZM n41,nIF Z=0- -27/4
PC+1-n->PC
JRNZP n40,nIF Z=0- -27/4
PC+1+n->PC
JRP n44,nPC+1+n->PC- -27
JRZN n57,nIF Z=1- -27/4
PC+1-n->PC
JRZP n56,nIF Z=1- -27/4
PC+1+n->PC
LDD87(DP)->A- -13
LDM89(P)->A- -12
LDP32P->A- -12
LDQ33Q->A- -12
LDR34R->A- -12
LIA n2,nn->A- -24
LIB n3,nn->B- -24
LIDL m17,mm->DPL- -25
LIDP nm16,n,mnm->DP- -38
LII n0,nn->I- -24
LIJ n1,nn->J- -24
LIP n18,nn->P- -24
LIQ n19,nn->Q- -24
LOOP n47,n(R)-1->(R), IF* *210/7
C=0 DP+1-n->DP
LP n128+nn->P- -120<=n<63
MVB10(Q)...(Q+J)->- -15+2*JP+J+1->P
(P)...(P+J)Q+J+1->Q
MVBD26(DP)...(DP+J)->- -15+4*JP+J+1->P
(P)...(P+J)DP+J->DP
MVDM83(P)->(DP)- -13
MVMD85(DP)->(P)- -13
MVW8(Q)...(Q+I)->- -15+2*IP+I+1->P
(P)...(P+I)Q+I+1->Q
MVWD24(DP)...(DP+I)->- -15+4*IP+I+1->P
(P)...(P+I)DP+I->DP
NOPT206No Operation- -13
NOPW77No Operation- -12
ORIA n101,nA OR n->A- *24
ORID n213,n(DP) OR n->(DP)- *26
ORIM n97,n(P) OR n->(P)- *24
ORMA n71,n(DP) OR n->(DP)- *13
OUTA93(92)->IA-Port- -1392->Q
OUTB221(93)->IB-Port- -1293->Q
OUTC223(95)->C-PORT- -12
OUTF95(94)->F0-Port- -1394->Q
POP91(R)->A, R+1->R- -12
PTC122n->H,nm->(R-1,- *49
R-2), R-2->R
PUSH52(R)->A, R-1->R- -13
RC2090->C, 1->Z* *12
RTN55(R-1,R-2)->PC- -14
R+2->R
SBB21(P)-1->(P)* *15P+1->P
(P+1)-B-C->(P+1)
SBCM197(P)-A-C->(P)* *13
SBIA n117,nA-n->A* *24
SBIM n113,n(P)-n->(P)* *24
SBM69(P)-A->(P)* *13
SBN13(P)-A->(P)* *17+3*IP-I-1->P
(P-I)-C->(P-I)BCD
SBW15(P)-(Q)->(P)* *17+3*IP-I-1->P
(P-I)-(Q-I)-C->Q-I-2->Q
(P-I)BCD
SC2081->C, 1->Z* *12
SL90C->A7...A0->C- -12
SLW29(P-1)...(P)- -15+IP-I-1->P
4 Bit SL
SR210C->A0...A7->C* -12
SRW28(P)...(P+I)- -15+IP+I+1->P
4 Bit SR
STD82A->(DP)- -12
STP48A->P- -12
STQ49A->Q- -12
STR50A->R- -12
SWP88A0...A3<->- -12
A4...A7
TEST n107,nTEST-Byte AND n- *24
TSIA n102,nA AND n- *24
TSID n214,n(DP) AND n- *26
TSIM n98,n(P) AND n- *24
WAIT n78,nNo Operation- -26+n


Register

Register   Adresse Beschreibung
P   7 bit interner RAM Pointer
Q 7 bit interner RAM Pointer
R 7 bit interner RAM Stack Pointer
PC 16 bit Programm Counter
DP 16 bit Data Pointer
Z Zero Flag
C Carry Flag
D Interner Index (nicht für Benutzer zugänglich)
I &00 Index
J &01 Index
A &02 Main Accumulator
B &03 Secondary Accumulator
XL &04 X = XL + 256 x XH
XH &05
YL &06 Y = YL + 256 x YH
YH &07
K &08 Allgemein
L &09 Allgemein
M &0A Allgemein
N &0B Allgemein
  &0C - &5B   System Stack (Beginnt bei &5B und verringert sich)
IA &5C I/O Port A
IB &5D I/O Port B
FO &5E I/O Port F
OUTC &5F Control Port
OR X &10 - &17 Operationsregister
OR Y &18 - &1F Operationsregister
OR Z &20 - &27 Operationsregister
OR W &28 - &2F Operationsregister
ERL &34 Fehlernummer bei Fehlern
LB,HB &3E, &3F Momentane Zeilennummer
LB,HB &38, &39 Anfang des BASIC-Blocks, in dem das Programm liegt
LB,HB &3A, &3B Adresse einer mit Suche gefundenen Zeile
LB,HB &3C, &3D Die Zeilennummer der gefundenen Zeile


Test Befehl

BitBeschreibung
0System clock 512 ms
1System clock 2 ms
2-
3BRK/ON Taste
4-
5-
6RESET Taste
7Kassetteneingang - Pin 6 Drucker, I


Besonderheiten bei PC-1360

Ports

A Port

BitBeschreibung
0-7Keyboard Spalte


B Port

BitBeschreibung
0-
1-
2-
3Pin 8 Drucker, I
4Pin 9 Drucker, IO
5Pin 3 seriell, IO
6Pin 5 seriell, IO
7Pin 8 seriell, IO


C Port

BitBeschreibung
0Anzeige 1=An/0=Aus
1Counter Reset
2CPU Halt
3Computer 0=An/1=Aus
4Beeper Frequenz 0=2kHz/1=4kHz
5Beeper 1=An/0=Aus (Aus: Bit 4: Beeper 1=An/0=Aus)
6-
7-


F Port

BitBeschreibung
0-
1Pin 2 seriell, O
2RAM Bank umschalten, 0=Bank 0, 1=Bank 1
3-
4-
5-
6-
7-


RAM Ports

Adressen &3E00-&3EFF

WertBeschreibung
0-7Keyboard Reihe


Adressen &3800-&38FF

BitBeschreibung
0Pin 4 seriell und 11 Drucker, O
1Pin 14 seriell, O
2Pin 11 seriell, O
3-
4-
5-
6-
7-


Adressen &3400-&34FF - ROM Bank Schalter

WertBeschreibung
0Bank 0
1Bank 1
2Bank 2
3Bank 3
4Bank 4
5Bank 5
6Bank 6
7Bank 7


Tastaturverschaltung PC-1360




Besonderheiten bei PC-1350

Port B (&5D = 93 internes RAM)

BitPinD=11-Pin-InterfaceI=Ein-,O=Ausgabe
411DIO
510DIO
69DIO
78DIO

Port F (nur Ausgabe, &5E = 94 internes RAM)

BitPin Printer
15
24

Tastaturverschaltung PC-1350




Besonderheiten bei PC-1403

Port B (&5D = 93 internes RAM)

BitPinD=11-Pin-InterfaceI=Ein-,O=Ausgabe
69DIO
78DIO

Port F (nur Ausgabe, &5E = 94 internes RAM)

BitPin Printer
04
15

Tastaturverschaltung PC-140x




Besonderheiten bei PC-1421

Port B (&5D = 93 internes RAM)

BitPinD=11-Pin-InterfaceI=Ein-,O=Ausgabe
69DIO
78DIO

Port F (nur Ausgabe, &5E = 94 internes RAM)

BitPin Printer
04
15

Tastaturverschaltung PC-1421




Besonderheiten bei PC-1260

Port B (&5D = 93 internes RAM)

BitPinD=11-Pin-InterfaceI=Ein-,O=Ausgabe
69DIO
78DIO

Port F (nur Ausgabe, &5E = 94 internes RAM)

BitPin Printer
04
15

Tastaturverschaltung PC-126x





Diese Seite ist optimiert für 1024*768 Pixel Auflösung! Ich empfehle Microsoft Internet Explorer 5.x zum Betrachten!
Copyright © Simon Lehmayr (Teile dieser Seite sind mit Hilfe von Laurent Duveau entstanden)