---
# System prepended metadata

title: Instruction

---

# Instruction



|           Action          |      Mnémonique     | Opcode (4bits) | Registre (4bits) | Mémoire (8bits) |
|:-------------------------:|:-------------------:|:--------------:|:----------------:|:---------------:|
|        R[x] ← M[y]        |   Load R[x], M[y]   |        0       |         x        |        y        |
|        M[y] ← R[x]        |   Store R[x], M[y]  |        1       |         x        |        y        |
| Si 0 sauter à l'adresse a |     Jump zéro, m    |        2       |         0        |        a        |
|      R[x] ← R[y]+R[z]     | Add R[x],R[y], R[z] |        3       |         x        |       y\|z      |
|      R[x] ← R[y]-R[z]     | Sub R[x],R[y], R[z] |        4       |         x        |       y\|z      |
|      R[x] ← R[x] - 1      |       Dec R[x]      |        5       |         x        |        0        |
|      R[x] ← R[x] + 1      |       Inc R[x]      |        6       |         x        |        0        |
|           R[x] ← v          |    Load R[x], #v    |        7       |         x        |        v        |
|         R[x] ← R[y]         |   Copy R[x], R[y]   |        8       |         x        |       y\|0      |
|                           |                     |                |                  |                 |
|                           |                     |                |                  |                 |
|                           |                     |                |                  |                 |
|                           |                     |                |                  |                 |
|                           |                     |                |                  |                 |
|                           |                     |                |                  |                 |
|           Arrêt           |         Stop        |        f       |         0        |        0        |