Line 89... |
Line 89... |
|
|
mem[16'h1000] = 8'h8e; // ldx #$100
|
mem[16'h1000] = 8'h8e; // ldx #$100
|
mem[16'h1001] = 8'h01; //
|
mem[16'h1001] = 8'h01; //
|
mem[16'h1002] = 8'h00; //
|
mem[16'h1002] = 8'h00; //
|
|
|
mem[16'h1003] = 8'hbf; // stx #$102
|
mem[16'h1003] = 8'hbf; // stx $102
|
mem[16'h1004] = 8'h01; //
|
mem[16'h1004] = 8'h01; //
|
mem[16'h1005] = 8'h02; //
|
mem[16'h1005] = 8'h02; //
|
|
|
mem[16'h1006] = 8'hbd; // jsr #$1010
|
mem[16'h1006] = 8'h0f; // clr $10
|
mem[16'h1007] = 8'h10; //
|
mem[16'h1007] = 8'h10; //
|
mem[16'h1008] = 8'h10; //
|
|
|
|
mem[16'h1009] = 8'h20; // bra *
|
mem[16'h1008] = 8'h7f; // clr $1234
|
mem[16'h100a] = 8'hfe; //
|
mem[16'h1009] = 8'h12; //
|
|
mem[16'h100a] = 8'h34; //
|
|
|
mem[16'h100b] = 8'hc1; //
|
mem[16'h100b] = 8'h0c; // inc $10
|
mem[16'h100c] = 8'h10; //
|
mem[16'h100c] = 8'h10; //
|
mem[16'h100d] = 8'h26; //
|
|
mem[16'h100e] = 8'hf7; //
|
|
|
|
mem[16'h100f] = 8'h4c; //
|
mem[16'h100d] = 8'h7c; // inc $1234
|
|
mem[16'h100e] = 8'h12; //
|
|
mem[16'h100f] = 8'h34; //
|
|
|
|
mem[16'h1010] = 8'h0a; // dec $10
|
|
mem[16'h1011] = 8'h10; //
|
|
|
|
mem[16'h1012] = 8'h7a; // dec $1234
|
|
mem[16'h1013] = 8'h12; //
|
|
mem[16'h1014] = 8'h34; //
|
|
|
mem[16'h1010] = 8'h4f; // clra
|
mem[16'h1015] = 8'h20; // bra *
|
mem[16'h1011] = 8'h5f; // clrb
|
mem[16'h1016] = 8'hfe; //
|
mem[16'h1012] = 8'h39; // rts
|
|
|
|
|
|
|
|
/*
|
/*
|
// test indexed store
|
// test indexed store
|