Overview

Overview through all commands of Mikroone

 

 

1. Load- and Save-Commands

 

LDD

Loading Data from Data Memory

01011

STO

Saving Data from Data Memory

01010

LDL

Loading a Constant to Low - Part of a Register

01000

LDH

Loading a Constant to High - Part of a Register

10001

IN

Loading Content of I/O to a Register

11011

OUT

Loading Content of I/O to a Register

11010

 

 

2. Arithmetic Commands

ADC

Addition with Carry

10111

SBC

Substraction with Carry

10110

ADD

Addition without Carry

00111

SUB

Substraction without Carry

00110

ROR

Bit - Rotation to the right

10101

ROL

Bit - Rotation to the left

10100

SHR

Bit - Shift right

00101

SHL

Bit - Shift left

00100

 

 

3. Logical Commands

 

NOT

Bitwise Negation

00000

XOR

Bitwise exclusiv-OR

00001

OR

Bitwise OR

00010

AND

Bitwise AND

00011

MSK

Bitmasking

10000

INB

Inverting Bit

10001

SEB

Set Bit

10010

CLB

Clear Bit

10011

 

4. Jump Commands

JMP

unconditioned Jump

11110

JC

Jump if Carry - Bit is set

11101

JZ

Jump if Zero - Bit is set

11100

JNC

Jump if Carry - Bit is not set

01101

JNZ

Jump if Zero - Bit is not set

01100

 

 

5. Additional Commands

PSH

Push to Stack

11001

POP

Pop to Stack

11000

JS

Jump to subroutine

01110

RTS

Return from subroutine

01111

RTI

Return from Interruptroutine

01111

HLT

End of program

11111

6. New Commands

EI

Enable Interrupt

01111000 00000010

DI

Disable Interrupt

01111000 00000011