Table of Contents

Bättre C

Bjarnis idéer

struct instr{enum INSTR type; char *mnemonic;};

struct instr instructions[]={
  {enum INSTR MOVE, "mov"},
  {enum INSTR ADD, "add"},
  {enum INSTR SUBTRACT, "sub"}
};

Martins idéer