Followed the discussions in the Pull request #682.

* Fixed a misspelling
* Fixed styles
* Added sample codes
This commit is contained in:
AIDA Shinra
2018-06-12 02:06:01 +09:00
parent 335a8972b9
commit 8899d71cad
14 changed files with 195 additions and 13 deletions

33
testcode/disasm/bank0.dai Normal file
View File

@@ -0,0 +1,33 @@
# 1 "bank0.da"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "bank0.da"
global {
inputoffs $00010;
inputsize $4000;
startaddr $8000;
cpu "6502";
};
# 1 "fixed.da" 1
# 18 "fixed.da"
label { addr $00; name "VariableA"; };
label { addr $01; name "VariableB"; };
label { addr $0100; name "Stack"; size $0100; };
label { addr $C000; name "CommonProcA"; };
label { addr $C123; name "CommonProcB"; };
range { start $E123; end $FFFF; name "CommonData"; type ByteTable; };
# 13 "bank0.da" 2
label { addr $8000; name "Bank0ProcA"; };
label { addr $8123; name "Bank0ProcB"; };
range { start $A000; end $BFFF; name "Bank0Data"; type ByteTable; };