
module CodeMemory (
  input [15:0] address,
  output reg [7:0] data
  );

  always @(address) begin
    case (address)
      'h0000: data = 8'h90;    // MOV DPTR,#0103h
      'h0001: data = 8'h01;
      'h0002: data = 8'h03;

      'h0003: data = 8'h02;    // LJMP 0
      'h0004: data = 8'h00;
      'h0005: data = 8'h00;

      default:  data = 8'h00;  // Fill unused space with NOPs
      endcase
    end
  endmodule
