Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Appendix C
- 39 instructions PEP 8
- Spec. Instruct. Significations ways Codes conditions
- instr. address assigned
- 00000000 STOP Stop program execution
- 00000001 RETTR Back interruption
- 00000010 MOVSPA Place SP-A
- 00000011 MOVFLGA Place NZVC A
- 0000010a BR unconditional connection i, x
- 0000011a BRLE connections or less if i, x
- 0000100a BRLT lower connection if i, x
- 0000101a BREQ connections if equal i, x
- 0000110a BRNE connection if not equal i, x
- 0000111a BRGE connections if greater than or equal to i, x
- 0001000a BRGT Connecting higher if i, x
- 0001001a BRV overflow connection if i, x
- 0001010a BRC Connecting restraint if i, x
- 0001011a CALL Call subprogramme i, x
- OUR 0001100r Supplement 1 to the registry NZ
- Negation 0001101r NEGRA registry NZV
- 0001110r ASLr arithmetic shift left of register NZVC
- 0001111r ASRr arithmetic shift to the right of the register NZC
- 0010000r ROLr cyclic shift to the left of the register C
- 0010001r rorr cyclic shift to the right of the register C
- Adjournment 001001nn NOPn no unary operation
- NOP 00101aaa interruptions no unary operation i
- DECI 00110aaa Interruption input decimal d, n, s, sf, x, sx, sxf NZV
- DECO 00111aaa Interruption decimal i, d, n, s, sf, x, sx, sxf
- STRO 01000aaa Interruption output channel d, n, sf
- Reading character 01001aaa CHARI d, n, s, sf, x, sx, sxf
- Output character 01010aaa Charo i, d, n, s, sf, x, sx, sxf
- Back 01011nnn Retna a call with local n bytes
- 01100aaa ADDSP Addition to the stack pointer (SP) i, d, n, s, sf, x, sx, sxf NZVC
- SUBSP 01101aaa Subtracting the stack pointer (SP) i, d, n, s, sf, x, sx, sxf NZVC
- ADDR 0111raaa Addition to register i, d, n, s, sf, x, sx, sxf NZVC
- SUBR 1000raaa subtraction in the register i, d, n, s, sf, x, sx, sxf NZVC
- ANDR 1001raaa bitwise ORing the register i, d, n, s, sf, x, sx, sxf NZ
- Orr 1010raaa OR bitwise to the register i, d, n, s, sf, x, sx, sxf NZ
- Compare 1011raaa CPR register i, d, n, s, sf, x, sx, sxf NZVC
- Place 1 Ldr 1100raaa word in register i, d, n, s, sf, x, sx, sxf NZ
- 1101raaa LDBYTEr Place byte in record (0-7) i, d, n, s, sf, x, sx, sxf NZ
- STr 1110raaa Ranger word register 1 d, n, s, sf, x, sx, sxf
- 1111raaa register STBYTEr Ranger (0-7) in 1 byte d, n, s, sf, x, sx, sxf
- 8 PEP 8 guidelines
- Guidelines Significations
- . BYTE Reserve 1 byte memory with initial value.
- . WORD Reserve 1 word memory with initial value.
- . BLOCK Reserve a number of bytes set to zero.
- . ASCII reserve memory space for a string (eg "String").
- . ADDRSS Reserve 1 word memory for a pointer.
- . EQUATE Assigns a value to a label.
- .END Directive obligatoire de fin d�assemblage qui doit �tre � la fin du code.
- . BURN Usually a program starts at zero. With. BURN,
- the program ends at the address specified by the operand.
- Important ASCII codes (hexadecimal)
- ASCII Character Codes
- 00 null character
- 0A character line on PEP 8 (Enter)
- Spacing 20 '
- 30 First digit'0 '
- 41 First character uppercase alphabet 'A'
- 61 First letter of the alphabet lowercase 'a'
- � 2006 Ph. Gabrini Page 235
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement