/* Simple microprocessor and fibonacci number generator */ const dw = 8; /* Data width */ const opcw = 4; /* Op-code width */ const oprw = 4; /* Operand width */ const rom_aw = 4; /* Width of ROM address bus */ const ram_aw = 4; /* Width of RAM address bus */ const HALT = 0 : opcw; const LOAD = 1 : opcw; const LOADI = 2 : opcw; const STORE = 3 : opcw; const ADD = 4 : opcw; const SUB = 5 : opcw; const JUMP = 6 : opcw; const JUMPNZ = 7 : opcw; const INPUT = 8 : opcw; const OUTPUT = 9 : opcw; #define _asm_(opc,opr) ((opc)+((opr)*(1<