Skip to content

en:Instruction set

Álvaro Torralba edited this page Nov 24, 2018 · 2 revisions


The mivip instruction set is very reduced. It only has height instructions, although it is believed that it will expand at some point. For this reason, the microcontrollers and processors of the family are considered MISC (Minimal Instruction Set Computers).

Instructions length

The instructions are not of a fixed width, their size can vary from 8 to 24 bits.

List of instructions

General instructions

  • hlt: It tells the processor to stop the execution.
  • nop: It has no effect. Useful for debugging.

Memory instructions

  • mov: Moves to the register indicated as the first parameter the hexadecimal value indicated in the second argument.
  • lor: Load the hexadecimal value indicated in the second parameter to the register indicated in the second argument.

Instrucciones aritmeticas

  • add: Add the value of the register indicated as the first parameter plus the hexadecimal value indicated in the second parameter and store the result in that register.
  • sub: Subtracts the value of the register indicated as the first parameter minus the hexadecimal value indicated in the second parameter and stores the result in that register.

Counting instructions

  • inc: Increase the value of the register indicated as the first argument.
  • dec: Decrease the value of the register indicated as the first argument.

See also

  1. Registers
  2. Video memory

Clone this wiki locally