Simple Computer Simulator Instruction-Set

From dftwiki3
Revision as of 15:57, 26 August 2014 by Thiebaut (talk | contribs) (Created page with "--~~~~ ---- {| ! Instruction ! Code (decimal) ! Code( binary) ! Description |- | ADDXx | 29 | 00011101 | * |- | TXA | 83 | 01010011 | * |- | COMPx | 85 | 01010101 | * |- | JL...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

--D. Thiebaut (talk) 16:57, 26 August 2014 (EDT)


Instruction Code (decimal) Code( binary) Description

ADDXx

29

00011101

TXA

83

01010011

COMPx

85

01010101

JLT

72

01001000

HALT

127

01111111

LOADXm

10

00001010

NOP

0

00000000

ADDx

25

00011001

SUBX

36

00100100

LOAD

4

00000100

ADDm

26

00011010

STOREXm

22

00010110

SUB

32

00100000

COMP

84

01010100

DIVm

46

00101110

LOADX

8

00001000

SUBXm

38

00100110

MUL

40

00101000

ADDX

28

00011100

TAX

79

01001111

COMPXx

93

01011101

STOREm

18

00010010

LOADm

6

00000110

STOREXx

21

00010101

SUBx

33

00100001

COMPXm

94

01011110

MULm

42

00101010

SUBXx

37

00100101

COMPX

92

01011100

DIVx

45

00101101

LOADx

5

00000101

MULx

41

00101001

ADDXm

30

00011110

DIV

44

00101100

LOADXx

9

00001001

COMPm

86

01010110

STOREx

17

00010001

SUBm

34

00100010

JEQ

68

01000100

JUMP

64

01000000

ADD

24

00011000