Advertisement
Guest User

DynV

a guest
Jun 14th, 2009
299
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.15 KB | None | 0 0
  1.  
  2. Appendix C
  3.  
  4. 39 instructions PEP 8
  5.  
  6.  
  7.  
  8. Spec. Instruct. Significations ways Codes conditions
  9.  
  10.  
  11.  
  12.  
  13.  
  14. instr. address assigned
  15.  
  16. 00000000 STOP Stop program execution
  17.  
  18. 00000001 RETTR Back interruption
  19.  
  20. 00000010 MOVSPA Place SP-A
  21.  
  22. 00000011 MOVFLGA Place NZVC A
  23.  
  24. 0000010a BR unconditional connection i, x
  25.  
  26. 0000011a BRLE connections or less if i, x
  27.  
  28. 0000100a BRLT lower connection if i, x
  29.  
  30. 0000101a BREQ connections if equal i, x
  31.  
  32. 0000110a BRNE connection if not equal i, x
  33.  
  34. 0000111a BRGE connections if greater than or equal to i, x
  35.  
  36. 0001000a BRGT Connecting higher if i, x
  37.  
  38. 0001001a BRV overflow connection if i, x
  39.  
  40. 0001010a BRC Connecting restraint if i, x
  41.  
  42. 0001011a CALL Call subprogramme i, x
  43.  
  44. OUR 0001100r Supplement 1 to the registry NZ
  45.  
  46. Negation 0001101r NEGRA registry NZV
  47.  
  48. 0001110r ASLr arithmetic shift left of register NZVC
  49.  
  50. 0001111r ASRr arithmetic shift to the right of the register NZC
  51.  
  52. 0010000r ROLr cyclic shift to the left of the register C
  53.  
  54. 0010001r rorr cyclic shift to the right of the register C
  55.  
  56. Adjournment 001001nn NOPn no unary operation
  57.  
  58. NOP 00101aaa interruptions no unary operation i
  59.  
  60. DECI 00110aaa Interruption input decimal d, n, s, sf, x, sx, sxf NZV
  61.  
  62. DECO 00111aaa Interruption decimal i, d, n, s, sf, x, sx, sxf
  63.  
  64. STRO 01000aaa Interruption output channel d, n, sf
  65.  
  66. Reading character 01001aaa CHARI d, n, s, sf, x, sx, sxf
  67.  
  68. Output character 01010aaa Charo i, d, n, s, sf, x, sx, sxf
  69.  
  70. Back 01011nnn Retna a call with local n bytes
  71.  
  72. 01100aaa ADDSP Addition to the stack pointer (SP) i, d, n, s, sf, x, sx, sxf NZVC
  73.  
  74. SUBSP 01101aaa Subtracting the stack pointer (SP) i, d, n, s, sf, x, sx, sxf NZVC
  75.  
  76. ADDR 0111raaa Addition to register i, d, n, s, sf, x, sx, sxf NZVC
  77.  
  78. SUBR 1000raaa subtraction in the register i, d, n, s, sf, x, sx, sxf NZVC
  79.  
  80. ANDR 1001raaa bitwise ORing the register i, d, n, s, sf, x, sx, sxf NZ
  81.  
  82. Orr 1010raaa OR bitwise to the register i, d, n, s, sf, x, sx, sxf NZ
  83.  
  84. Compare 1011raaa CPR register i, d, n, s, sf, x, sx, sxf NZVC
  85.  
  86. Place 1 Ldr 1100raaa word in register i, d, n, s, sf, x, sx, sxf NZ
  87.  
  88. 1101raaa LDBYTEr Place byte in record (0-7) i, d, n, s, sf, x, sx, sxf NZ
  89.  
  90. STr 1110raaa Ranger word register 1 d, n, s, sf, x, sx, sxf
  91.  
  92. 1111raaa register STBYTEr Ranger (0-7) in 1 byte d, n, s, sf, x, sx, sxf
  93.  
  94.  
  95.  
  96.  
  97.  
  98. 8 PEP 8 guidelines
  99.  
  100.  
  101.  
  102. Guidelines Significations
  103.  
  104. . BYTE Reserve 1 byte memory with initial value.
  105.  
  106. . WORD Reserve 1 word memory with initial value.
  107.  
  108. . BLOCK Reserve a number of bytes set to zero.
  109.  
  110. . ASCII reserve memory space for a string (eg "String").
  111.  
  112. . ADDRSS Reserve 1 word memory for a pointer.
  113.  
  114. . EQUATE Assigns a value to a label.
  115.  
  116. .END Directive obligatoire de fin d�assemblage qui doit �tre � la fin du code.
  117.  
  118. . BURN Usually a program starts at zero. With. BURN,
  119.  
  120.  
  121.  
  122.  
  123.  
  124. the program ends at the address specified by the operand.
  125.  
  126.  
  127.  
  128.  
  129.  
  130. Important ASCII codes (hexadecimal)
  131.  
  132.  
  133.  
  134. ASCII Character Codes
  135.  
  136. 00 null character
  137.  
  138. 0A character line on PEP 8 (Enter)
  139.  
  140. Spacing 20 '
  141.  
  142. 30 First digit'0 '
  143.  
  144. 41 First character uppercase alphabet 'A'
  145.  
  146. 61 First letter of the alphabet lowercase 'a'
  147.  
  148.  
  149.  
  150.  
  151.  
  152. � 2006 Ph. Gabrini Page 235
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement