1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
% Demonstrate each possible style. Does not make sense as code.
% A comment 1
% Comment
% Whitespace 0
% Label 2
label
% Not Validated Opcode 3 appears to always validate to either 5 or 6
% so is never seen on screen.
% Division between Label and Opcode 4
la
% Valid Opcode 5
TRAP
% Invalid Opcode 6
UNKNOWN
% Division between Opcode and Operands 7
LOC
% Division of Operands 8
LOC 0.
% Number 9
BYTE 0
% Reference 10
JMP @label
% Char 11
BYTE 'a'
% String 12
BYTE "Hello, world!"
% Register 13
BYTE rA
% Hexadecimal Number 14
BYTE #FF
% Operator 15
BYTE +
% Symbol 16
TRAP Fputs
% Preprocessor 17
@include a.mms
|