-
Notifications
You must be signed in to change notification settings - Fork 0
/
mMemory.obj
75 lines (75 loc) · 2.02 KB
/
mMemory.obj
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
75
0000 1 00000100//fetch
0001 1 00000110//add
0002 1 00000120//sub
0003 1 00000130//neg
0004 1 00000140//or
0005 1 00000150//and
0006 1 00000160//xor
0007 1 00000170//cmp
0008 1 00000180//sll
0009 1 00000190//srl
000a 1 000001a0//sra
000b 1 000001b0//inc
000c 1 000001c0//dec
0020 1 00000300//jmp
0021 1 00000310//jl
0022 1 00000320//jle
0023 1 00000330//jg
0024 1 00000340//jge
0025 1 00000350//jeq
0026 1 00000360//jne
0030 1 00000400//jlc
0031 1 00000410//jlec
0032 1 00000420//jgc
0033 1 00000430//jgec
0034 1 00000440//jz
0035 1 00000450//jnz
0040 1 00000500//mov
0041 1 00000510//push
0042 1 00000520//pop
0080 1 00000900//register AM
0090 1 00000a00//register indirect AM
00a0 1 00000b00//memory indirect AM
00b0 1 00000c00//indexed AM
00c0 1 00000d00//indexed indirect AM
00d0 1 00000e00//indexed memory indirect AM
00e0 1 00000f00//double indexed AM
00ff 1 000010f0//halt
0100 2 001d0000 011e1918//fetch
0110 2 003a0000 02780000//add
0120 2 003b0000 02780000//sub
0130 1 021c0000//neg
0140 1 02790000//or
0150 1 027a0000//and
0160 1 027b0000//xor
0170 1 021b0000//cmp
0180 2 003a0000 027c0000//sll
0190 2 003a0000 027d0000//srl
01a0 2 003a0000 027e0000//sra
01b0 1 02380000//inc
01c0 1 02340000//dec
0300 1 02280000//jmp
0310 1 82002a00//jl
0320 1 82012a00//jle
0330 1 82022a00//jg
0340 1 82032a00//jge
0350 1 82042a00//jeq
0360 1 82052a00//jne
0400 1 8200292a//jlc
0410 1 8201292a//jlec
0420 1 8202292a//jgc
0430 1 8203292a//jgec
0440 1 8204292a//jz
0450 1 8205292a//jnz
0500 1 021a0000//mov
0510 2 006f0000 02252300//push
0520 3 00220000 006f0000 02300000//pop
0900 1 0C800000//register AM
0a00 2 04600000 0C300000//register indirect AM
0b00 3 04600000 001f0000 0C300000//memory indirect AM
0c00 5 001d0000 04301e00 04c00000 042c0000 0c300000//indexed AM
0d00 6 001d0000 04301e00 04c00000 042c0000 001f0000 0c300000//indexed indirect AM
0e00 6 001d0000 04301e60 00330000 043c0000 042c0000 0c300000//indexed memory indirect AM
0f00 9 001d0000 041e3000 041dc000 001e3300 042c0000 04300000 043c0000 042c0000 0c300000//double indexed AM
10f0 1 00010000//halt
0