mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-04-08 14:37:40 +00:00
Added kickasm support for bytes & cycles. Changed location to pc.
This commit is contained in:
parent
ae765bec6b
commit
6475f70192
@ -1,6 +1,7 @@
|
||||
package dk.camelot64.kickc.asm;
|
||||
|
||||
/** Inlined KickAssembler code.
|
||||
/**
|
||||
* Inlined KickAssembler code.
|
||||
* If no cycles/byte size is specified it defaults to 256/256.
|
||||
*/
|
||||
public class AsmInlineKickAsm implements AsmLine {
|
||||
@ -9,12 +10,22 @@ public class AsmInlineKickAsm implements AsmLine {
|
||||
|
||||
private int index;
|
||||
|
||||
private int bytes = 256;
|
||||
private int bytes;
|
||||
|
||||
private double cycles = 256;
|
||||
private double cycles;
|
||||
|
||||
public AsmInlineKickAsm(String kickAsmCode) {
|
||||
this.kickAsmCode= kickAsmCode;
|
||||
public AsmInlineKickAsm(String kickAsmCode, Long bytes, Long cycles) {
|
||||
this.kickAsmCode = kickAsmCode;
|
||||
if(bytes != null) {
|
||||
this.bytes = bytes.intValue();
|
||||
} else {
|
||||
this.bytes = 256;
|
||||
}
|
||||
if(cycles != null) {
|
||||
this.cycles = cycles;
|
||||
} else {
|
||||
this.cycles = 256;
|
||||
}
|
||||
}
|
||||
|
||||
public String getKickAsmCode() {
|
||||
@ -27,6 +38,7 @@ public class AsmInlineKickAsm implements AsmLine {
|
||||
|
||||
/**
|
||||
* Get the number of source lines in the inline assembler code (for line indexing)
|
||||
*
|
||||
* @return The number of source lines
|
||||
*/
|
||||
public long getLineCount() {
|
||||
|
@ -135,8 +135,8 @@ public class AsmProgram {
|
||||
* Add inlines kick assembler code
|
||||
* @param kickAsmCode The kickassembler code
|
||||
*/
|
||||
public void addInlinedKickAsm(String kickAsmCode) {
|
||||
addLine(new AsmInlineKickAsm(kickAsmCode));
|
||||
public void addInlinedKickAsm(String kickAsmCode, Long bytes, Long cycles) {
|
||||
addLine(new AsmInlineKickAsm(kickAsmCode, bytes, cycles));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -196,7 +196,7 @@ public class ControlFlowGraphCopyVisitor extends ControlFlowGraphBaseVisitor<Obj
|
||||
|
||||
@Override
|
||||
public Object visitKickAsm(StatementKickAsm kasm) {
|
||||
return new StatementKickAsm(kasm.getKickAsmCode(), kasm.getLocation(), kasm.getSource());
|
||||
return new StatementKickAsm(kasm.getKickAsmCode(), kasm.getLocation(), kasm.getBytes(), kasm.getCycles(), kasm.getSource());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -224,7 +224,6 @@ public abstract class ProgramValue {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* LValue as part of an assignment statement (or a call).
|
||||
*/
|
||||
|
@ -11,16 +11,22 @@ public class StatementKickAsm extends StatementBase {
|
||||
|
||||
/** The absolute address to generate the kick-assembler code at. If null it is generated inline. */
|
||||
private RValue location;
|
||||
/** The number of bytes generated by the kickassembler code. */
|
||||
private Long bytes;
|
||||
/** The number of cycles used by the generated kickassembler code. */
|
||||
private Long cycles;
|
||||
|
||||
public StatementKickAsm(String kickAsmCode, StatementSource source) {
|
||||
super(null, source);
|
||||
this.kickAsmCode = kickAsmCode;
|
||||
}
|
||||
|
||||
public StatementKickAsm(String kickAsmCode, RValue location, StatementSource source) {
|
||||
public StatementKickAsm(String kickAsmCode, RValue location, Long bytes, Long cycles, StatementSource source) {
|
||||
super(null, source);
|
||||
this.kickAsmCode = kickAsmCode;
|
||||
this.location = location;
|
||||
this.bytes = bytes;
|
||||
this.cycles = cycles;
|
||||
}
|
||||
|
||||
public RValue getLocation() {
|
||||
@ -50,4 +56,19 @@ public class StatementKickAsm extends StatementBase {
|
||||
return kickAsmCode;
|
||||
}
|
||||
|
||||
public void setBytes(Long bytes) {
|
||||
this.bytes = bytes;
|
||||
}
|
||||
|
||||
public Long getBytes() {
|
||||
return bytes;
|
||||
}
|
||||
|
||||
public void setCycles(Long cycles) {
|
||||
this.cycles = cycles;
|
||||
}
|
||||
|
||||
public Long getCycles() {
|
||||
return cycles;
|
||||
}
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ kasmDirective
|
||||
| 'param' NAME ':' expr #kasmDirectiveTransfer
|
||||
| 'bytes' NUMBER #kasmDirectiveBytes
|
||||
| 'cycles' NUMBER #kasmDirectiveCycles
|
||||
| 'location' ( 'inline' | expr ) #kasmDirectiveLocation
|
||||
| 'pc' ( 'inline' | expr ) #kasmDirectiveAddress
|
||||
;
|
||||
|
||||
parameterListDecl
|
||||
|
@ -99,7 +99,7 @@ COMMENT_BLOCK=86
|
||||
':'=13
|
||||
'bytes'=14
|
||||
'cycles'=15
|
||||
'location'=16
|
||||
'pc'=16
|
||||
'inline'=17
|
||||
'const'=18
|
||||
'extern'=19
|
||||
|
@ -196,13 +196,13 @@ public class KickCBaseListener implements KickCListener {
|
||||
*
|
||||
* <p>The default implementation does nothing.</p>
|
||||
*/
|
||||
@Override public void enterKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx) { }
|
||||
@Override public void enterKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* <p>The default implementation does nothing.</p>
|
||||
*/
|
||||
@Override public void exitKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx) { }
|
||||
@Override public void exitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
|
@ -122,7 +122,7 @@ public class KickCBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
|
||||
* <p>The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.</p>
|
||||
*/
|
||||
@Override public T visitKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx) { return visitChildren(ctx); }
|
||||
@Override public T visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) { return visitChildren(ctx); }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
|
@ -56,12 +56,12 @@ public class KickCLexer extends Lexer {
|
||||
private static final String[] _LITERAL_NAMES = {
|
||||
null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "'kickasm'",
|
||||
"','", "'resource'", "'clobber'", "'param'", "':'", "'bytes'", "'cycles'",
|
||||
"'location'", "'inline'", "'const'", "'extern'", "'align'", "'register'",
|
||||
"'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "'..'",
|
||||
"'signed'", "'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", "'!'",
|
||||
"'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='",
|
||||
"'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", "'*='",
|
||||
"'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'.byte'", "'#'"
|
||||
"'pc'", "'inline'", "'const'", "'extern'", "'align'", "'register'", "'if'",
|
||||
"'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "'..'", "'signed'",
|
||||
"'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'",
|
||||
"'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='",
|
||||
"'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", "'*='", "'/='", "'%='",
|
||||
"'<<='", "'>>='", "'&='", "'|='", "'^='", "'.byte'", "'#'"
|
||||
};
|
||||
private static final String[] _SYMBOLIC_NAMES = {
|
||||
null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
@ -132,7 +132,7 @@ public class KickCLexer extends Lexer {
|
||||
public ATN getATN() { return _ATN; }
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2X\u0372\b\1\4\2\t"+
|
||||
"\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2X\u036c\b\1\4\2\t"+
|
||||
"\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13"+
|
||||
"\t\13\4\f\t\f\4\r\t\r\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22"+
|
||||
"\4\23\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30\4\31\t\31"+
|
||||
@ -147,17 +147,17 @@ public class KickCLexer extends Lexer {
|
||||
"\t\3\t\3\t\3\t\3\t\3\n\3\n\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13\3\13"+
|
||||
"\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\17"+
|
||||
"\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\20\3\20\3\21\3\21"+
|
||||
"\3\21\3\21\3\21\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\3\22\3\22"+
|
||||
"\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\25"+
|
||||
"\3\25\3\25\3\25\3\25\3\25\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26"+
|
||||
"\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30\3\31\3\31\3\31\3\31\3\31\3\31"+
|
||||
"\3\32\3\32\3\32\3\33\3\33\3\33\3\33\3\34\3\34\3\34\3\34\3\34\3\34\3\34"+
|
||||
"\3\35\3\35\3\35\3\35\3\36\3\36\3\36\3\37\3\37\3\37\3\37\3\37\3\37\3\37"+
|
||||
"\3 \3 \3!\3!\3\"\3\"\3#\3#\3#\3$\3$\3$\3%\3%\3&\3&\3\'\3\'\3(\3(\3)\3"+
|
||||
")\3*\3*\3*\3+\3+\3+\3,\3,\3-\3-\3.\3.\3/\3/\3\60\3\60\3\60\3\61\3\61\3"+
|
||||
"\61\3\62\3\62\3\62\3\63\3\63\3\63\3\64\3\64\3\65\3\65\3\66\3\66\3\66\3"+
|
||||
"\67\3\67\3\67\38\38\38\39\39\39\3:\3:\3:\3;\3;\3;\3<\3<\3<\3=\3=\3=\3"+
|
||||
"=\3>\3>\3>\3>\3?\3?\3?\3@\3@\3@\3A\3A\3A\3B\3B\3B\3B\3B\3B\3C\3C\3D\3"+
|
||||
"\3\21\3\22\3\22\3\22\3\22\3\22\3\22\3\22\3\23\3\23\3\23\3\23\3\23\3\23"+
|
||||
"\3\24\3\24\3\24\3\24\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3\25\3\25\3\26"+
|
||||
"\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\26\3\27\3\27\3\27\3\30\3\30\3\30"+
|
||||
"\3\30\3\30\3\31\3\31\3\31\3\31\3\31\3\31\3\32\3\32\3\32\3\33\3\33\3\33"+
|
||||
"\3\33\3\34\3\34\3\34\3\34\3\34\3\34\3\34\3\35\3\35\3\35\3\35\3\36\3\36"+
|
||||
"\3\36\3\37\3\37\3\37\3\37\3\37\3\37\3\37\3 \3 \3!\3!\3\"\3\"\3#\3#\3#"+
|
||||
"\3$\3$\3$\3%\3%\3&\3&\3\'\3\'\3(\3(\3)\3)\3*\3*\3*\3+\3+\3+\3,\3,\3-\3"+
|
||||
"-\3.\3.\3/\3/\3\60\3\60\3\60\3\61\3\61\3\61\3\62\3\62\3\62\3\63\3\63\3"+
|
||||
"\63\3\64\3\64\3\65\3\65\3\66\3\66\3\66\3\67\3\67\3\67\38\38\38\39\39\3"+
|
||||
"9\3:\3:\3:\3;\3;\3;\3<\3<\3<\3=\3=\3=\3=\3>\3>\3>\3>\3?\3?\3?\3@\3@\3"+
|
||||
"@\3A\3A\3A\3B\3B\3B\3B\3B\3B\3C\3C\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
@ -167,290 +167,288 @@ public class KickCLexer extends Lexer {
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3"+
|
||||
"D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\3D\5D\u0293\nD\3E\3E\3E\3E\7E\u0299"+
|
||||
"\nE\fE\16E\u029c\13E\3E\3E\3E\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3"+
|
||||
"F\3F\3F\3F\3F\3F\3F\3F\5F\u02b6\nF\3G\3G\3G\3G\7G\u02bc\nG\fG\16G\u02bf"+
|
||||
"\13G\3G\3G\3H\3H\3H\3H\5H\u02c7\nH\3H\3H\3I\3I\3I\3I\3I\3I\3I\3I\3I\5"+
|
||||
"I\u02d4\nI\3J\3J\5J\u02d8\nJ\3K\3K\3K\5K\u02dd\nK\3L\3L\3L\3L\3L\5L\u02e4"+
|
||||
"\nL\3L\7L\u02e7\nL\fL\16L\u02ea\13L\3L\3L\6L\u02ee\nL\rL\16L\u02ef\3M"+
|
||||
"\7M\u02f3\nM\fM\16M\u02f6\13M\3M\3M\6M\u02fa\nM\rM\16M\u02fb\3N\3N\3N"+
|
||||
"\3N\3N\5N\u0303\nN\3N\7N\u0306\nN\fN\16N\u0309\13N\3N\3N\6N\u030d\nN\r"+
|
||||
"N\16N\u030e\3O\3O\3O\5O\u0314\nO\3P\3P\3P\6P\u0319\nP\rP\16P\u031a\3P"+
|
||||
"\3P\6P\u031f\nP\rP\16P\u0320\5P\u0323\nP\3Q\6Q\u0326\nQ\rQ\16Q\u0327\3"+
|
||||
"R\3R\3R\3R\3R\5R\u032f\nR\3R\6R\u0332\nR\rR\16R\u0333\3S\3S\3T\3T\3U\3"+
|
||||
"U\3V\3V\7V\u033e\nV\fV\16V\u0341\13V\3W\3W\3X\3X\3Y\3Y\7Y\u0349\nY\fY"+
|
||||
"\16Y\u034c\13Y\3Y\6Y\u034f\nY\rY\16Y\u0350\3Z\6Z\u0354\nZ\rZ\16Z\u0355"+
|
||||
"\3Z\3Z\3[\3[\3[\3[\7[\u035e\n[\f[\16[\u0361\13[\3[\3[\3\\\3\\\3\\\3\\"+
|
||||
"\7\\\u0369\n\\\f\\\16\\\u036c\13\\\3\\\3\\\3\\\3\\\3\\\4\u029a\u036a\2"+
|
||||
"]\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27\r\31\16\33\17\35\20"+
|
||||
"\37\21!\22#\23%\24\'\25)\26+\27-\30/\31\61\32\63\33\65\34\67\359\36;\37"+
|
||||
"= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o"+
|
||||
"9q:s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F\u008bG\u008dH"+
|
||||
"\u008fI\u0091J\u0093K\u0095L\u0097M\u0099N\u009bO\u009dP\u009fQ\u00a1"+
|
||||
"R\u00a3S\u00a5\2\u00a7\2\u00a9\2\u00abT\u00ad\2\u00af\2\u00b1U\u00b3V"+
|
||||
"\u00b5W\u00b7X\3\2\r\3\2$$\3\2))\4\2DDdd\3\2\62\63\3\2\62;\5\2\62;CHc"+
|
||||
"h\5\2C\\aac|\6\2\62;C\\aac|\4\2--//\5\2\13\f\17\17\"\"\4\2\f\f\17\17\2"+
|
||||
"\u03da\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2"+
|
||||
"\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3"+
|
||||
"\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2!\3\2\2\2"+
|
||||
"\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2"+
|
||||
"/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2"+
|
||||
"\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2"+
|
||||
"G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3"+
|
||||
"\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2"+
|
||||
"\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2"+
|
||||
"m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2\2w\3\2\2\2\2y\3"+
|
||||
"\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2\2\2\u0081\3\2\2\2\2\u0083\3\2"+
|
||||
"\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2"+
|
||||
"\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2\2\2\u0095"+
|
||||
"\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b\3\2\2\2\2\u009d\3\2\2"+
|
||||
"\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2\2\2\u00ab\3\2\2\2\2\u00b1"+
|
||||
"\3\2\2\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7\3\2\2\2\3\u00b9\3\2\2"+
|
||||
"\2\5\u00c0\3\2\2\2\7\u00c2\3\2\2\2\t\u00c4\3\2\2\2\13\u00c6\3\2\2\2\r"+
|
||||
"\u00c8\3\2\2\2\17\u00ca\3\2\2\2\21\u00cc\3\2\2\2\23\u00d4\3\2\2\2\25\u00d6"+
|
||||
"\3\2\2\2\27\u00df\3\2\2\2\31\u00e7\3\2\2\2\33\u00ed\3\2\2\2\35\u00ef\3"+
|
||||
"\2\2\2\37\u00f5\3\2\2\2!\u00fc\3\2\2\2#\u0105\3\2\2\2%\u010c\3\2\2\2\'"+
|
||||
"\u0112\3\2\2\2)\u0119\3\2\2\2+\u011f\3\2\2\2-\u0128\3\2\2\2/\u012b\3\2"+
|
||||
"\2\2\61\u0130\3\2\2\2\63\u0136\3\2\2\2\65\u0139\3\2\2\2\67\u013d\3\2\2"+
|
||||
"\29\u0144\3\2\2\2;\u0148\3\2\2\2=\u014b\3\2\2\2?\u0152\3\2\2\2A\u0154"+
|
||||
"\3\2\2\2C\u0156\3\2\2\2E\u0158\3\2\2\2G\u015b\3\2\2\2I\u015e\3\2\2\2K"+
|
||||
"\u0160\3\2\2\2M\u0162\3\2\2\2O\u0164\3\2\2\2Q\u0166\3\2\2\2S\u0168\3\2"+
|
||||
"\2\2U\u016b\3\2\2\2W\u016e\3\2\2\2Y\u0170\3\2\2\2[\u0172\3\2\2\2]\u0174"+
|
||||
"\3\2\2\2_\u0176\3\2\2\2a\u0179\3\2\2\2c\u017c\3\2\2\2e\u017f\3\2\2\2g"+
|
||||
"\u0182\3\2\2\2i\u0184\3\2\2\2k\u0186\3\2\2\2m\u0189\3\2\2\2o\u018c\3\2"+
|
||||
"\2\2q\u018f\3\2\2\2s\u0192\3\2\2\2u\u0195\3\2\2\2w\u0198\3\2\2\2y\u019b"+
|
||||
"\3\2\2\2{\u019f\3\2\2\2}\u01a3\3\2\2\2\177\u01a6\3\2\2\2\u0081\u01a9\3"+
|
||||
"\2\2\2\u0083\u01ac\3\2\2\2\u0085\u01b2\3\2\2\2\u0087\u0292\3\2\2\2\u0089"+
|
||||
"\u0294\3\2\2\2\u008b\u02b5\3\2\2\2\u008d\u02b7\3\2\2\2\u008f\u02c2\3\2"+
|
||||
"\2\2\u0091\u02d3\3\2\2\2\u0093\u02d7\3\2\2\2\u0095\u02dc\3\2\2\2\u0097"+
|
||||
"\u02e3\3\2\2\2\u0099\u02f4\3\2\2\2\u009b\u0302\3\2\2\2\u009d\u0313\3\2"+
|
||||
"\2\2\u009f\u0322\3\2\2\2\u00a1\u0325\3\2\2\2\u00a3\u032e\3\2\2\2\u00a5"+
|
||||
"\u0335\3\2\2\2\u00a7\u0337\3\2\2\2\u00a9\u0339\3\2\2\2\u00ab\u033b\3\2"+
|
||||
"\2\2\u00ad\u0342\3\2\2\2\u00af\u0344\3\2\2\2\u00b1\u0346\3\2\2\2\u00b3"+
|
||||
"\u0353\3\2\2\2\u00b5\u0359\3\2\2\2\u00b7\u0364\3\2\2\2\u00b9\u00ba\7k"+
|
||||
"\2\2\u00ba\u00bb\7o\2\2\u00bb\u00bc\7r\2\2\u00bc\u00bd\7q\2\2\u00bd\u00be"+
|
||||
"\7t\2\2\u00be\u00bf\7v\2\2\u00bf\4\3\2\2\2\u00c0\u00c1\7?\2\2\u00c1\6"+
|
||||
"\3\2\2\2\u00c2\u00c3\7=\2\2\u00c3\b\3\2\2\2\u00c4\u00c5\7*\2\2\u00c5\n"+
|
||||
"\3\2\2\2\u00c6\u00c7\7+\2\2\u00c7\f\3\2\2\2\u00c8\u00c9\7}\2\2\u00c9\16"+
|
||||
"\3\2\2\2\u00ca\u00cb\7\177\2\2\u00cb\20\3\2\2\2\u00cc\u00cd\7m\2\2\u00cd"+
|
||||
"\u00ce\7k\2\2\u00ce\u00cf\7e\2\2\u00cf\u00d0\7m\2\2\u00d0\u00d1\7c\2\2"+
|
||||
"\u00d1\u00d2\7u\2\2\u00d2\u00d3\7o\2\2\u00d3\22\3\2\2\2\u00d4\u00d5\7"+
|
||||
".\2\2\u00d5\24\3\2\2\2\u00d6\u00d7\7t\2\2\u00d7\u00d8\7g\2\2\u00d8\u00d9"+
|
||||
"\7u\2\2\u00d9\u00da\7q\2\2\u00da\u00db\7w\2\2\u00db\u00dc\7t\2\2\u00dc"+
|
||||
"\u00dd\7e\2\2\u00dd\u00de\7g\2\2\u00de\26\3\2\2\2\u00df\u00e0\7e\2\2\u00e0"+
|
||||
"\u00e1\7n\2\2\u00e1\u00e2\7q\2\2\u00e2\u00e3\7d\2\2\u00e3\u00e4\7d\2\2"+
|
||||
"\u00e4\u00e5\7g\2\2\u00e5\u00e6\7t\2\2\u00e6\30\3\2\2\2\u00e7\u00e8\7"+
|
||||
"r\2\2\u00e8\u00e9\7c\2\2\u00e9\u00ea\7t\2\2\u00ea\u00eb\7c\2\2\u00eb\u00ec"+
|
||||
"\7o\2\2\u00ec\32\3\2\2\2\u00ed\u00ee\7<\2\2\u00ee\34\3\2\2\2\u00ef\u00f0"+
|
||||
"\7d\2\2\u00f0\u00f1\7{\2\2\u00f1\u00f2\7v\2\2\u00f2\u00f3\7g\2\2\u00f3"+
|
||||
"\u00f4\7u\2\2\u00f4\36\3\2\2\2\u00f5\u00f6\7e\2\2\u00f6\u00f7\7{\2\2\u00f7"+
|
||||
"\u00f8\7e\2\2\u00f8\u00f9\7n\2\2\u00f9\u00fa\7g\2\2\u00fa\u00fb\7u\2\2"+
|
||||
"\u00fb \3\2\2\2\u00fc\u00fd\7n\2\2\u00fd\u00fe\7q\2\2\u00fe\u00ff\7e\2"+
|
||||
"\2\u00ff\u0100\7c\2\2\u0100\u0101\7v\2\2\u0101\u0102\7k\2\2\u0102\u0103"+
|
||||
"\7q\2\2\u0103\u0104\7p\2\2\u0104\"\3\2\2\2\u0105\u0106\7k\2\2\u0106\u0107"+
|
||||
"\7p\2\2\u0107\u0108\7n\2\2\u0108\u0109\7k\2\2\u0109\u010a\7p\2\2\u010a"+
|
||||
"\u010b\7g\2\2\u010b$\3\2\2\2\u010c\u010d\7e\2\2\u010d\u010e\7q\2\2\u010e"+
|
||||
"\u010f\7p\2\2\u010f\u0110\7u\2\2\u0110\u0111\7v\2\2\u0111&\3\2\2\2\u0112"+
|
||||
"\u0113\7g\2\2\u0113\u0114\7z\2\2\u0114\u0115\7v\2\2\u0115\u0116\7g\2\2"+
|
||||
"\u0116\u0117\7t\2\2\u0117\u0118\7p\2\2\u0118(\3\2\2\2\u0119\u011a\7c\2"+
|
||||
"\2\u011a\u011b\7n\2\2\u011b\u011c\7k\2\2\u011c\u011d\7i\2\2\u011d\u011e"+
|
||||
"\7p\2\2\u011e*\3\2\2\2\u011f\u0120\7t\2\2\u0120\u0121\7g\2\2\u0121\u0122"+
|
||||
"\7i\2\2\u0122\u0123\7k\2\2\u0123\u0124\7u\2\2\u0124\u0125\7v\2\2\u0125"+
|
||||
"\u0126\7g\2\2\u0126\u0127\7t\2\2\u0127,\3\2\2\2\u0128\u0129\7k\2\2\u0129"+
|
||||
"\u012a\7h\2\2\u012a.\3\2\2\2\u012b\u012c\7g\2\2\u012c\u012d\7n\2\2\u012d"+
|
||||
"\u012e\7u\2\2\u012e\u012f\7g\2\2\u012f\60\3\2\2\2\u0130\u0131\7y\2\2\u0131"+
|
||||
"\u0132\7j\2\2\u0132\u0133\7k\2\2\u0133\u0134\7n\2\2\u0134\u0135\7g\2\2"+
|
||||
"\u0135\62\3\2\2\2\u0136\u0137\7f\2\2\u0137\u0138\7q\2\2\u0138\64\3\2\2"+
|
||||
"\2\u0139\u013a\7h\2\2\u013a\u013b\7q\2\2\u013b\u013c\7t\2\2\u013c\66\3"+
|
||||
"\2\2\2\u013d\u013e\7t\2\2\u013e\u013f\7g\2\2\u013f\u0140\7v\2\2\u0140"+
|
||||
"\u0141\7w\2\2\u0141\u0142\7t\2\2\u0142\u0143\7p\2\2\u01438\3\2\2\2\u0144"+
|
||||
"\u0145\7c\2\2\u0145\u0146\7u\2\2\u0146\u0147\7o\2\2\u0147:\3\2\2\2\u0148"+
|
||||
"\u0149\7\60\2\2\u0149\u014a\7\60\2\2\u014a<\3\2\2\2\u014b\u014c\7u\2\2"+
|
||||
"\u014c\u014d\7k\2\2\u014d\u014e\7i\2\2\u014e\u014f\7p\2\2\u014f\u0150"+
|
||||
"\7g\2\2\u0150\u0151\7f\2\2\u0151>\3\2\2\2\u0152\u0153\7,\2\2\u0153@\3"+
|
||||
"\2\2\2\u0154\u0155\7]\2\2\u0155B\3\2\2\2\u0156\u0157\7_\2\2\u0157D\3\2"+
|
||||
"\2\2\u0158\u0159\7/\2\2\u0159\u015a\7/\2\2\u015aF\3\2\2\2\u015b\u015c"+
|
||||
"\7-\2\2\u015c\u015d\7-\2\2\u015dH\3\2\2\2\u015e\u015f\7-\2\2\u015fJ\3"+
|
||||
"\2\2\2\u0160\u0161\7/\2\2\u0161L\3\2\2\2\u0162\u0163\7#\2\2\u0163N\3\2"+
|
||||
"\2\2\u0164\u0165\7(\2\2\u0165P\3\2\2\2\u0166\u0167\7\u0080\2\2\u0167R"+
|
||||
"\3\2\2\2\u0168\u0169\7@\2\2\u0169\u016a\7@\2\2\u016aT\3\2\2\2\u016b\u016c"+
|
||||
"\7>\2\2\u016c\u016d\7>\2\2\u016dV\3\2\2\2\u016e\u016f\7\61\2\2\u016fX"+
|
||||
"\3\2\2\2\u0170\u0171\7\'\2\2\u0171Z\3\2\2\2\u0172\u0173\7>\2\2\u0173\\"+
|
||||
"\3\2\2\2\u0174\u0175\7@\2\2\u0175^\3\2\2\2\u0176\u0177\7?\2\2\u0177\u0178"+
|
||||
"\7?\2\2\u0178`\3\2\2\2\u0179\u017a\7#\2\2\u017a\u017b\7?\2\2\u017bb\3"+
|
||||
"\2\2\2\u017c\u017d\7>\2\2\u017d\u017e\7?\2\2\u017ed\3\2\2\2\u017f\u0180"+
|
||||
"\7@\2\2\u0180\u0181\7?\2\2\u0181f\3\2\2\2\u0182\u0183\7`\2\2\u0183h\3"+
|
||||
"\2\2\2\u0184\u0185\7~\2\2\u0185j\3\2\2\2\u0186\u0187\7(\2\2\u0187\u0188"+
|
||||
"\7(\2\2\u0188l\3\2\2\2\u0189\u018a\7~\2\2\u018a\u018b\7~\2\2\u018bn\3"+
|
||||
"\2\2\2\u018c\u018d\7-\2\2\u018d\u018e\7?\2\2\u018ep\3\2\2\2\u018f\u0190"+
|
||||
"\7/\2\2\u0190\u0191\7?\2\2\u0191r\3\2\2\2\u0192\u0193\7,\2\2\u0193\u0194"+
|
||||
"\7?\2\2\u0194t\3\2\2\2\u0195\u0196\7\61\2\2\u0196\u0197\7?\2\2\u0197v"+
|
||||
"\3\2\2\2\u0198\u0199\7\'\2\2\u0199\u019a\7?\2\2\u019ax\3\2\2\2\u019b\u019c"+
|
||||
"\7>\2\2\u019c\u019d\7>\2\2\u019d\u019e\7?\2\2\u019ez\3\2\2\2\u019f\u01a0"+
|
||||
"\7@\2\2\u01a0\u01a1\7@\2\2\u01a1\u01a2\7?\2\2\u01a2|\3\2\2\2\u01a3\u01a4"+
|
||||
"\7(\2\2\u01a4\u01a5\7?\2\2\u01a5~\3\2\2\2\u01a6\u01a7\7~\2\2\u01a7\u01a8"+
|
||||
"\7?\2\2\u01a8\u0080\3\2\2\2\u01a9\u01aa\7`\2\2\u01aa\u01ab\7?\2\2\u01ab"+
|
||||
"\u0082\3\2\2\2\u01ac\u01ad\7\60\2\2\u01ad\u01ae\7d\2\2\u01ae\u01af\7{"+
|
||||
"\2\2\u01af\u01b0\7v\2\2\u01b0\u01b1\7g\2\2\u01b1\u0084\3\2\2\2\u01b2\u01b3"+
|
||||
"\7%\2\2\u01b3\u0086\3\2\2\2\u01b4\u01b5\7d\2\2\u01b5\u01b6\7t\2\2\u01b6"+
|
||||
"\u0293\7m\2\2\u01b7\u01b8\7q\2\2\u01b8\u01b9\7t\2\2\u01b9\u0293\7c\2\2"+
|
||||
"\u01ba\u01bb\7m\2\2\u01bb\u01bc\7k\2\2\u01bc\u0293\7n\2\2\u01bd\u01be"+
|
||||
"\7u\2\2\u01be\u01bf\7n\2\2\u01bf\u0293\7q\2\2\u01c0\u01c1\7p\2\2\u01c1"+
|
||||
"\u01c2\7q\2\2\u01c2\u0293\7r\2\2\u01c3\u01c4\7c\2\2\u01c4\u01c5\7u\2\2"+
|
||||
"\u01c5\u0293\7n\2\2\u01c6\u01c7\7r\2\2\u01c7\u01c8\7j\2\2\u01c8\u0293"+
|
||||
"\7r\2\2\u01c9\u01ca\7c\2\2\u01ca\u01cb\7p\2\2\u01cb\u0293\7e\2\2\u01cc"+
|
||||
"\u01cd\7d\2\2\u01cd\u01ce\7r\2\2\u01ce\u0293\7n\2\2\u01cf\u01d0\7e\2\2"+
|
||||
"\u01d0\u01d1\7n\2\2\u01d1\u0293\7e\2\2\u01d2\u01d3\7l\2\2\u01d3\u01d4"+
|
||||
"\7u\2\2\u01d4\u0293\7t\2\2\u01d5\u01d6\7c\2\2\u01d6\u01d7\7p\2\2\u01d7"+
|
||||
"\u0293\7f\2\2\u01d8\u01d9\7t\2\2\u01d9\u01da\7n\2\2\u01da\u0293\7c\2\2"+
|
||||
"\u01db\u01dc\7d\2\2\u01dc\u01dd\7k\2\2\u01dd\u0293\7v\2\2\u01de\u01df"+
|
||||
"\7t\2\2\u01df\u01e0\7q\2\2\u01e0\u0293\7n\2\2\u01e1\u01e2\7r\2\2\u01e2"+
|
||||
"\u01e3\7n\2\2\u01e3\u0293\7c\2\2\u01e4\u01e5\7r\2\2\u01e5\u01e6\7n\2\2"+
|
||||
"\u01e6\u0293\7r\2\2\u01e7\u01e8\7d\2\2\u01e8\u01e9\7o\2\2\u01e9\u0293"+
|
||||
"\7k\2\2\u01ea\u01eb\7u\2\2\u01eb\u01ec\7g\2\2\u01ec\u0293\7e\2\2\u01ed"+
|
||||
"\u01ee\7t\2\2\u01ee\u01ef\7v\2\2\u01ef\u0293\7k\2\2\u01f0\u01f1\7g\2\2"+
|
||||
"\u01f1\u01f2\7q\2\2\u01f2\u0293\7t\2\2\u01f3\u01f4\7u\2\2\u01f4\u01f5"+
|
||||
"\7t\2\2\u01f5\u0293\7g\2\2\u01f6\u01f7\7n\2\2\u01f7\u01f8\7u\2\2\u01f8"+
|
||||
"\u0293\7t\2\2\u01f9\u01fa\7r\2\2\u01fa\u01fb\7j\2\2\u01fb\u0293\7c\2\2"+
|
||||
"\u01fc\u01fd\7c\2\2\u01fd\u01fe\7n\2\2\u01fe\u0293\7t\2\2\u01ff\u0200"+
|
||||
"\7l\2\2\u0200\u0201\7o\2\2\u0201\u0293\7r\2\2\u0202\u0203\7d\2\2\u0203"+
|
||||
"\u0204\7x\2\2\u0204\u0293\7e\2\2\u0205\u0206\7e\2\2\u0206\u0207\7n\2\2"+
|
||||
"\u0207\u0293\7k\2\2\u0208\u0209\7t\2\2\u0209\u020a\7v\2\2\u020a\u0293"+
|
||||
"\7u\2\2\u020b\u020c\7c\2\2\u020c\u020d\7f\2\2\u020d\u0293\7e\2\2\u020e"+
|
||||
"\u020f\7t\2\2\u020f\u0210\7t\2\2\u0210\u0293\7c\2\2\u0211\u0212\7d\2\2"+
|
||||
"\u0212\u0213\7x\2\2\u0213\u0293\7u\2\2\u0214\u0215\7u\2\2\u0215\u0216"+
|
||||
"\7g\2\2\u0216\u0293\7k\2\2\u0217\u0218\7u\2\2\u0218\u0219\7c\2\2\u0219"+
|
||||
"\u0293\7z\2\2\u021a\u021b\7u\2\2\u021b\u021c\7v\2\2\u021c\u0293\7{\2\2"+
|
||||
"\u021d\u021e\7u\2\2\u021e\u021f\7v\2\2\u021f\u0293\7c\2\2\u0220\u0221"+
|
||||
"\7u\2\2\u0221\u0222\7v\2\2\u0222\u0293\7z\2\2\u0223\u0224\7f\2\2\u0224"+
|
||||
"\u0225\7g\2\2\u0225\u0293\7{\2\2\u0226\u0227\7v\2\2\u0227\u0228\7z\2\2"+
|
||||
"\u0228\u0293\7c\2\2\u0229\u022a\7z\2\2\u022a\u022b\7c\2\2\u022b\u0293"+
|
||||
"\7c\2\2\u022c\u022d\7d\2\2\u022d\u022e\7e\2\2\u022e\u0293\7e\2\2\u022f"+
|
||||
"\u0230\7c\2\2\u0230\u0231\7j\2\2\u0231\u0293\7z\2\2\u0232\u0233\7v\2\2"+
|
||||
"\u0233\u0234\7{\2\2\u0234\u0293\7c\2\2\u0235\u0236\7v\2\2\u0236\u0237"+
|
||||
"\7z\2\2\u0237\u0293\7u\2\2\u0238\u0239\7v\2\2\u0239\u023a\7c\2\2\u023a"+
|
||||
"\u0293\7u\2\2\u023b\u023c\7u\2\2\u023c\u023d\7j\2\2\u023d\u0293\7{\2\2"+
|
||||
"\u023e\u023f\7u\2\2\u023f\u0240\7j\2\2\u0240\u0293\7z\2\2\u0241\u0242"+
|
||||
"\7n\2\2\u0242\u0243\7f\2\2\u0243\u0293\7{\2\2\u0244\u0245\7n\2\2\u0245"+
|
||||
"\u0246\7f\2\2\u0246\u0293\7c\2\2\u0247\u0248\7n\2\2\u0248\u0249\7f\2\2"+
|
||||
"\u0249\u0293\7z\2\2\u024a\u024b\7n\2\2\u024b\u024c\7c\2\2\u024c\u0293"+
|
||||
"\7z\2\2\u024d\u024e\7v\2\2\u024e\u024f\7c\2\2\u024f\u0293\7{\2\2\u0250"+
|
||||
"\u0251\7v\2\2\u0251\u0252\7c\2\2\u0252\u0293\7z\2\2\u0253\u0254\7d\2\2"+
|
||||
"\u0254\u0255\7e\2\2\u0255\u0293\7u\2\2\u0256\u0257\7e\2\2\u0257\u0258"+
|
||||
"\7n\2\2\u0258\u0293\7x\2\2\u0259\u025a\7v\2\2\u025a\u025b\7u\2\2\u025b"+
|
||||
"\u0293\7z\2\2\u025c\u025d\7n\2\2\u025d\u025e\7c\2\2\u025e\u0293\7u\2\2"+
|
||||
"\u025f\u0260\7e\2\2\u0260\u0261\7r\2\2\u0261\u0293\7{\2\2\u0262\u0263"+
|
||||
"\7e\2\2\u0263\u0264\7o\2\2\u0264\u0293\7r\2\2\u0265\u0266\7e\2\2\u0266"+
|
||||
"\u0267\7r\2\2\u0267\u0293\7z\2\2\u0268\u0269\7f\2\2\u0269\u026a\7e\2\2"+
|
||||
"\u026a\u0293\7r\2\2\u026b\u026c\7f\2\2\u026c\u026d\7g\2\2\u026d\u0293"+
|
||||
"\7e\2\2\u026e\u026f\7k\2\2\u026f\u0270\7p\2\2\u0270\u0293\7e\2\2\u0271"+
|
||||
"\u0272\7c\2\2\u0272\u0273\7z\2\2\u0273\u0293\7u\2\2\u0274\u0275\7d\2\2"+
|
||||
"\u0275\u0276\7p\2\2\u0276\u0293\7g\2\2\u0277\u0278\7e\2\2\u0278\u0279"+
|
||||
"\7n\2\2\u0279\u0293\7f\2\2\u027a\u027b\7u\2\2\u027b\u027c\7d\2\2\u027c"+
|
||||
"\u0293\7e\2\2\u027d\u027e\7k\2\2\u027e\u027f\7u\2\2\u027f\u0293\7e\2\2"+
|
||||
"\u0280\u0281\7k\2\2\u0281\u0282\7p\2\2\u0282\u0293\7z\2\2\u0283\u0284"+
|
||||
"\7d\2\2\u0284\u0285\7g\2\2\u0285\u0293\7s\2\2\u0286\u0287\7u\2\2\u0287"+
|
||||
"\u0288\7g\2\2\u0288\u0293\7f\2\2\u0289\u028a\7f\2\2\u028a\u028b\7g\2\2"+
|
||||
"\u028b\u0293\7z\2\2\u028c\u028d\7k\2\2\u028d\u028e\7p\2\2\u028e\u0293"+
|
||||
"\7{\2\2\u028f\u0290\7t\2\2\u0290\u0291\7q\2\2\u0291\u0293\7t\2\2\u0292"+
|
||||
"\u01b4\3\2\2\2\u0292\u01b7\3\2\2\2\u0292\u01ba\3\2\2\2\u0292\u01bd\3\2"+
|
||||
"\2\2\u0292\u01c0\3\2\2\2\u0292\u01c3\3\2\2\2\u0292\u01c6\3\2\2\2\u0292"+
|
||||
"\u01c9\3\2\2\2\u0292\u01cc\3\2\2\2\u0292\u01cf\3\2\2\2\u0292\u01d2\3\2"+
|
||||
"\2\2\u0292\u01d5\3\2\2\2\u0292\u01d8\3\2\2\2\u0292\u01db\3\2\2\2\u0292"+
|
||||
"\u01de\3\2\2\2\u0292\u01e1\3\2\2\2\u0292\u01e4\3\2\2\2\u0292\u01e7\3\2"+
|
||||
"\2\2\u0292\u01ea\3\2\2\2\u0292\u01ed\3\2\2\2\u0292\u01f0\3\2\2\2\u0292"+
|
||||
"\u01f3\3\2\2\2\u0292\u01f6\3\2\2\2\u0292\u01f9\3\2\2\2\u0292\u01fc\3\2"+
|
||||
"\2\2\u0292\u01ff\3\2\2\2\u0292\u0202\3\2\2\2\u0292\u0205\3\2\2\2\u0292"+
|
||||
"\u0208\3\2\2\2\u0292\u020b\3\2\2\2\u0292\u020e\3\2\2\2\u0292\u0211\3\2"+
|
||||
"\2\2\u0292\u0214\3\2\2\2\u0292\u0217\3\2\2\2\u0292\u021a\3\2\2\2\u0292"+
|
||||
"\u021d\3\2\2\2\u0292\u0220\3\2\2\2\u0292\u0223\3\2\2\2\u0292\u0226\3\2"+
|
||||
"\2\2\u0292\u0229\3\2\2\2\u0292\u022c\3\2\2\2\u0292\u022f\3\2\2\2\u0292"+
|
||||
"\u0232\3\2\2\2\u0292\u0235\3\2\2\2\u0292\u0238\3\2\2\2\u0292\u023b\3\2"+
|
||||
"\2\2\u0292\u023e\3\2\2\2\u0292\u0241\3\2\2\2\u0292\u0244\3\2\2\2\u0292"+
|
||||
"\u0247\3\2\2\2\u0292\u024a\3\2\2\2\u0292\u024d\3\2\2\2\u0292\u0250\3\2"+
|
||||
"\2\2\u0292\u0253\3\2\2\2\u0292\u0256\3\2\2\2\u0292\u0259\3\2\2\2\u0292"+
|
||||
"\u025c\3\2\2\2\u0292\u025f\3\2\2\2\u0292\u0262\3\2\2\2\u0292\u0265\3\2"+
|
||||
"\2\2\u0292\u0268\3\2\2\2\u0292\u026b\3\2\2\2\u0292\u026e\3\2\2\2\u0292"+
|
||||
"\u0271\3\2\2\2\u0292\u0274\3\2\2\2\u0292\u0277\3\2\2\2\u0292\u027a\3\2"+
|
||||
"\2\2\u0292\u027d\3\2\2\2\u0292\u0280\3\2\2\2\u0292\u0283\3\2\2\2\u0292"+
|
||||
"\u0286\3\2\2\2\u0292\u0289\3\2\2\2\u0292\u028c\3\2\2\2\u0292\u028f\3\2"+
|
||||
"\2\2\u0293\u0088\3\2\2\2\u0294\u0295\7}\2\2\u0295\u0296\7}\2\2\u0296\u029a"+
|
||||
"\3\2\2\2\u0297\u0299\13\2\2\2\u0298\u0297\3\2\2\2\u0299\u029c\3\2\2\2"+
|
||||
"\u029a\u029b\3\2\2\2\u029a\u0298\3\2\2\2\u029b\u029d\3\2\2\2\u029c\u029a"+
|
||||
"\3\2\2\2\u029d\u029e\7\177\2\2\u029e\u029f\7\177\2\2\u029f\u008a\3\2\2"+
|
||||
"\2\u02a0\u02a1\7d\2\2\u02a1\u02a2\7{\2\2\u02a2\u02a3\7v\2\2\u02a3\u02b6"+
|
||||
"\7g\2\2\u02a4\u02a5\7y\2\2\u02a5\u02a6\7q\2\2\u02a6\u02a7\7t\2\2\u02a7"+
|
||||
"\u02b6\7f\2\2\u02a8\u02a9\7f\2\2\u02a9\u02aa\7y\2\2\u02aa\u02ab\7q\2\2"+
|
||||
"\u02ab\u02ac\7t\2\2\u02ac\u02b6\7f\2\2\u02ad\u02ae\7d\2\2\u02ae\u02af"+
|
||||
"\7q\2\2\u02af\u02b0\7q\2\2\u02b0\u02b6\7n\2\2\u02b1\u02b2\7x\2\2\u02b2"+
|
||||
"\u02b3\7q\2\2\u02b3\u02b4\7k\2\2\u02b4\u02b6\7f\2\2\u02b5\u02a0\3\2\2"+
|
||||
"\2\u02b5\u02a4\3\2\2\2\u02b5\u02a8\3\2\2\2\u02b5\u02ad\3\2\2\2\u02b5\u02b1"+
|
||||
"\3\2\2\2\u02b6\u008c\3\2\2\2\u02b7\u02bd\7$\2\2\u02b8\u02b9\7^\2\2\u02b9"+
|
||||
"\u02bc\7$\2\2\u02ba\u02bc\n\2\2\2\u02bb\u02b8\3\2\2\2\u02bb\u02ba\3\2"+
|
||||
"\2\2\u02bc\u02bf\3\2\2\2\u02bd\u02bb\3\2\2\2\u02bd\u02be\3\2\2\2\u02be"+
|
||||
"\u02c0\3\2\2\2\u02bf\u02bd\3\2\2\2\u02c0\u02c1\7$\2\2\u02c1\u008e\3\2"+
|
||||
"\2\2\u02c2\u02c6\7)\2\2\u02c3\u02c4\7^\2\2\u02c4\u02c7\7)\2\2\u02c5\u02c7"+
|
||||
"\n\3\2\2\u02c6\u02c3\3\2\2\2\u02c6\u02c5\3\2\2\2\u02c7\u02c8\3\2\2\2\u02c8"+
|
||||
"\u02c9\7)\2\2\u02c9\u0090\3\2\2\2\u02ca\u02cb\7v\2\2\u02cb\u02cc\7t\2"+
|
||||
"\2\u02cc\u02cd\7w\2\2\u02cd\u02d4\7g\2\2\u02ce\u02cf\7h\2\2\u02cf\u02d0"+
|
||||
"\7c\2\2\u02d0\u02d1\7n\2\2\u02d1\u02d2\7u\2\2\u02d2\u02d4\7g\2\2\u02d3"+
|
||||
"\u02ca\3\2\2\2\u02d3\u02ce\3\2\2\2\u02d4\u0092\3\2\2\2\u02d5\u02d8\5\u0095"+
|
||||
"K\2\u02d6\u02d8\5\u009dO\2\u02d7\u02d5\3\2\2\2\u02d7\u02d6\3\2\2\2\u02d8"+
|
||||
"\u0094\3\2\2\2\u02d9\u02dd\5\u0097L\2\u02da\u02dd\5\u0099M\2\u02db\u02dd"+
|
||||
"\5\u009bN\2\u02dc\u02d9\3\2\2\2\u02dc\u02da\3\2\2\2\u02dc\u02db\3\2\2"+
|
||||
"\2\u02dd\u0096\3\2\2\2\u02de\u02e4\7\'\2\2\u02df\u02e0\7\62\2\2\u02e0"+
|
||||
"\u02e4\7d\2\2\u02e1\u02e2\7\62\2\2\u02e2\u02e4\7D\2\2\u02e3\u02de\3\2"+
|
||||
"\2\2\u02e3\u02df\3\2\2\2\u02e3\u02e1\3\2\2\2\u02e4\u02e8\3\2\2\2\u02e5"+
|
||||
"\u02e7\5\u00a5S\2\u02e6\u02e5\3\2\2\2\u02e7\u02ea\3\2\2\2\u02e8\u02e6"+
|
||||
"\3\2\2\2\u02e8\u02e9\3\2\2\2\u02e9\u02eb\3\2\2\2\u02ea\u02e8\3\2\2\2\u02eb"+
|
||||
"\u02ed\7\60\2\2\u02ec\u02ee\5\u00a5S\2\u02ed\u02ec\3\2\2\2\u02ee\u02ef"+
|
||||
"\3\2\2\2\u02ef\u02ed\3\2\2\2\u02ef\u02f0\3\2\2\2\u02f0\u0098\3\2\2\2\u02f1"+
|
||||
"\u02f3\5\u00a7T\2\u02f2\u02f1\3\2\2\2\u02f3\u02f6\3\2\2\2\u02f4\u02f2"+
|
||||
"\3\2\2\2\u02f4\u02f5\3\2\2\2\u02f5\u02f7\3\2\2\2\u02f6\u02f4\3\2\2\2\u02f7"+
|
||||
"\u02f9\7\60\2\2\u02f8\u02fa\5\u00a7T\2\u02f9\u02f8\3\2\2\2\u02fa\u02fb"+
|
||||
"\3\2\2\2\u02fb\u02f9\3\2\2\2\u02fb\u02fc\3\2\2\2\u02fc\u009a\3\2\2\2\u02fd"+
|
||||
"\u0303\7&\2\2\u02fe\u02ff\7\62\2\2\u02ff\u0303\7z\2\2\u0300\u0301\7\62"+
|
||||
"\2\2\u0301\u0303\7Z\2\2\u0302\u02fd\3\2\2\2\u0302\u02fe\3\2\2\2\u0302"+
|
||||
"\u0300\3\2\2\2\u0303\u0307\3\2\2\2\u0304\u0306\5\u00a9U\2\u0305\u0304"+
|
||||
"\3\2\2\2\u0306\u0309\3\2\2\2\u0307\u0305\3\2\2\2\u0307\u0308\3\2\2\2\u0308"+
|
||||
"\u030a\3\2\2\2\u0309\u0307\3\2\2\2\u030a\u030c\7\60\2\2\u030b\u030d\5"+
|
||||
"\u00a9U\2\u030c\u030b\3\2\2\2\u030d\u030e\3\2\2\2\u030e\u030c\3\2\2\2"+
|
||||
"\u030e\u030f\3\2\2\2\u030f\u009c\3\2\2\2\u0310\u0314\5\u00a1Q\2\u0311"+
|
||||
"\u0314\5\u00a3R\2\u0312\u0314\5\u009fP\2\u0313\u0310\3\2\2\2\u0313\u0311"+
|
||||
"\3\2\2\2\u0313\u0312\3\2\2\2\u0314\u009e\3\2\2\2\u0315\u0316\7\62\2\2"+
|
||||
"\u0316\u0318\t\4\2\2\u0317\u0319\5\u00a5S\2\u0318\u0317\3\2\2\2\u0319"+
|
||||
"\u031a\3\2\2\2\u031a\u0318\3\2\2\2\u031a\u031b\3\2\2\2\u031b\u0323\3\2"+
|
||||
"\2\2\u031c\u031e\7\'\2\2\u031d\u031f\5\u00a5S\2\u031e\u031d\3\2\2\2\u031f"+
|
||||
"\u0320\3\2\2\2\u0320\u031e\3\2\2\2\u0320\u0321\3\2\2\2\u0321\u0323\3\2"+
|
||||
"\2\2\u0322\u0315\3\2\2\2\u0322\u031c\3\2\2\2\u0323\u00a0\3\2\2\2\u0324"+
|
||||
"\u0326\5\u00a7T\2\u0325\u0324\3\2\2\2\u0326\u0327\3\2\2\2\u0327\u0325"+
|
||||
"\3\2\2\2\u0327\u0328\3\2\2\2\u0328\u00a2\3\2\2\2\u0329\u032f\7&\2\2\u032a"+
|
||||
"\u032b\7\62\2\2\u032b\u032f\7z\2\2\u032c\u032d\7\62\2\2\u032d\u032f\7"+
|
||||
"Z\2\2\u032e\u0329\3\2\2\2\u032e\u032a\3\2\2\2\u032e\u032c\3\2\2\2\u032f"+
|
||||
"\u0331\3\2\2\2\u0330\u0332\5\u00a9U\2\u0331\u0330\3\2\2\2\u0332\u0333"+
|
||||
"\3\2\2\2\u0333\u0331\3\2\2\2\u0333\u0334\3\2\2\2\u0334\u00a4\3\2\2\2\u0335"+
|
||||
"\u0336\t\5\2\2\u0336\u00a6\3\2\2\2\u0337\u0338\t\6\2\2\u0338\u00a8\3\2"+
|
||||
"\2\2\u0339\u033a\t\7\2\2\u033a\u00aa\3\2\2\2\u033b\u033f\5\u00adW\2\u033c"+
|
||||
"\u033e\5\u00afX\2\u033d\u033c\3\2\2\2\u033e\u0341\3\2\2\2\u033f\u033d"+
|
||||
"\3\2\2\2\u033f\u0340\3\2\2\2\u0340\u00ac\3\2\2\2\u0341\u033f\3\2\2\2\u0342"+
|
||||
"\u0343\t\b\2\2\u0343\u00ae\3\2\2\2\u0344\u0345\t\t\2\2\u0345\u00b0\3\2"+
|
||||
"\2\2\u0346\u034a\7#\2\2\u0347\u0349\5\u00afX\2\u0348\u0347\3\2\2\2\u0349"+
|
||||
"\u034c\3\2\2\2\u034a\u0348\3\2\2\2\u034a\u034b\3\2\2\2\u034b\u034e\3\2"+
|
||||
"\2\2\u034c\u034a\3\2\2\2\u034d\u034f\t\n\2\2\u034e\u034d\3\2\2\2\u034f"+
|
||||
"\u0350\3\2\2\2\u0350\u034e\3\2\2\2\u0350\u0351\3\2\2\2\u0351\u00b2\3\2"+
|
||||
"\2\2\u0352\u0354\t\13\2\2\u0353\u0352\3\2\2\2\u0354\u0355\3\2\2\2\u0355"+
|
||||
"\u0353\3\2\2\2\u0355\u0356\3\2\2\2\u0356\u0357\3\2\2\2\u0357\u0358\bZ"+
|
||||
"\2\2\u0358\u00b4\3\2\2\2\u0359\u035a\7\61\2\2\u035a\u035b\7\61\2\2\u035b"+
|
||||
"\u035f\3\2\2\2\u035c\u035e\n\f\2\2\u035d\u035c\3\2\2\2\u035e\u0361\3\2"+
|
||||
"\2\2\u035f\u035d\3\2\2\2\u035f\u0360\3\2\2\2\u0360\u0362\3\2\2\2\u0361"+
|
||||
"\u035f\3\2\2\2\u0362\u0363\b[\2\2\u0363\u00b6\3\2\2\2\u0364\u0365\7\61"+
|
||||
"\2\2\u0365\u0366\7,\2\2\u0366\u036a\3\2\2\2\u0367\u0369\13\2\2\2\u0368"+
|
||||
"\u0367\3\2\2\2\u0369\u036c\3\2\2\2\u036a\u036b\3\2\2\2\u036a\u0368\3\2"+
|
||||
"\2\2\u036b\u036d\3\2\2\2\u036c\u036a\3\2\2\2\u036d\u036e\7,\2\2\u036e"+
|
||||
"\u036f\7\61\2\2\u036f\u0370\3\2\2\2\u0370\u0371\b\\\2\2\u0371\u00b8\3"+
|
||||
"\2\2\2!\2\u0292\u029a\u02b5\u02bb\u02bd\u02c6\u02d3\u02d7\u02dc\u02e3"+
|
||||
"\u02e8\u02ef\u02f4\u02fb\u0302\u0307\u030e\u0313\u031a\u0320\u0322\u0327"+
|
||||
"\u032e\u0333\u033f\u034a\u0350\u0355\u035f\u036a\3\b\2\2";
|
||||
"D\3D\3D\3D\5D\u028d\nD\3E\3E\3E\3E\7E\u0293\nE\fE\16E\u0296\13E\3E\3E"+
|
||||
"\3E\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\3F\5F"+
|
||||
"\u02b0\nF\3G\3G\3G\3G\7G\u02b6\nG\fG\16G\u02b9\13G\3G\3G\3H\3H\3H\3H\5"+
|
||||
"H\u02c1\nH\3H\3H\3I\3I\3I\3I\3I\3I\3I\3I\3I\5I\u02ce\nI\3J\3J\5J\u02d2"+
|
||||
"\nJ\3K\3K\3K\5K\u02d7\nK\3L\3L\3L\3L\3L\5L\u02de\nL\3L\7L\u02e1\nL\fL"+
|
||||
"\16L\u02e4\13L\3L\3L\6L\u02e8\nL\rL\16L\u02e9\3M\7M\u02ed\nM\fM\16M\u02f0"+
|
||||
"\13M\3M\3M\6M\u02f4\nM\rM\16M\u02f5\3N\3N\3N\3N\3N\5N\u02fd\nN\3N\7N\u0300"+
|
||||
"\nN\fN\16N\u0303\13N\3N\3N\6N\u0307\nN\rN\16N\u0308\3O\3O\3O\5O\u030e"+
|
||||
"\nO\3P\3P\3P\6P\u0313\nP\rP\16P\u0314\3P\3P\6P\u0319\nP\rP\16P\u031a\5"+
|
||||
"P\u031d\nP\3Q\6Q\u0320\nQ\rQ\16Q\u0321\3R\3R\3R\3R\3R\5R\u0329\nR\3R\6"+
|
||||
"R\u032c\nR\rR\16R\u032d\3S\3S\3T\3T\3U\3U\3V\3V\7V\u0338\nV\fV\16V\u033b"+
|
||||
"\13V\3W\3W\3X\3X\3Y\3Y\7Y\u0343\nY\fY\16Y\u0346\13Y\3Y\6Y\u0349\nY\rY"+
|
||||
"\16Y\u034a\3Z\6Z\u034e\nZ\rZ\16Z\u034f\3Z\3Z\3[\3[\3[\3[\7[\u0358\n[\f"+
|
||||
"[\16[\u035b\13[\3[\3[\3\\\3\\\3\\\3\\\7\\\u0363\n\\\f\\\16\\\u0366\13"+
|
||||
"\\\3\\\3\\\3\\\3\\\3\\\4\u0294\u0364\2]\3\3\5\4\7\5\t\6\13\7\r\b\17\t"+
|
||||
"\21\n\23\13\25\f\27\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27"+
|
||||
"-\30/\31\61\32\63\33\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'M(O)Q*S+U,W"+
|
||||
"-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o9q:s;u<w=y>{?}@\177A\u0081B\u0083"+
|
||||
"C\u0085D\u0087E\u0089F\u008bG\u008dH\u008fI\u0091J\u0093K\u0095L\u0097"+
|
||||
"M\u0099N\u009bO\u009dP\u009fQ\u00a1R\u00a3S\u00a5\2\u00a7\2\u00a9\2\u00ab"+
|
||||
"T\u00ad\2\u00af\2\u00b1U\u00b3V\u00b5W\u00b7X\3\2\r\3\2$$\3\2))\4\2DD"+
|
||||
"dd\3\2\62\63\3\2\62;\5\2\62;CHch\5\2C\\aac|\6\2\62;C\\aac|\4\2--//\5\2"+
|
||||
"\13\f\17\17\"\"\4\2\f\f\17\17\2\u03d4\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3\2"+
|
||||
"\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2\2\2\21\3\2\2\2\2"+
|
||||
"\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3"+
|
||||
"\2\2\2\2\37\3\2\2\2\2!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3"+
|
||||
"\2\2\2\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3\2\2\2\2\65"+
|
||||
"\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2\2=\3\2\2\2\2?\3\2\2\2\2A\3"+
|
||||
"\2\2\2\2C\3\2\2\2\2E\3\2\2\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2"+
|
||||
"\2\2O\3\2\2\2\2Q\3\2\2\2\2S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3\2\2\2\2"+
|
||||
"[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2\2\2c\3\2\2\2\2e\3\2\2\2\2g\3"+
|
||||
"\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2"+
|
||||
"\2\2u\3\2\2\2\2w\3\2\2\2\2y\3\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2\2"+
|
||||
"\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085\3\2\2\2\2\u0087\3\2\2\2\2\u0089"+
|
||||
"\3\2\2\2\2\u008b\3\2\2\2\2\u008d\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2"+
|
||||
"\2\2\u0093\3\2\2\2\2\u0095\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b"+
|
||||
"\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2\2\2\u00a1\3\2\2\2\2\u00a3\3\2\2"+
|
||||
"\2\2\u00ab\3\2\2\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7"+
|
||||
"\3\2\2\2\3\u00b9\3\2\2\2\5\u00c0\3\2\2\2\7\u00c2\3\2\2\2\t\u00c4\3\2\2"+
|
||||
"\2\13\u00c6\3\2\2\2\r\u00c8\3\2\2\2\17\u00ca\3\2\2\2\21\u00cc\3\2\2\2"+
|
||||
"\23\u00d4\3\2\2\2\25\u00d6\3\2\2\2\27\u00df\3\2\2\2\31\u00e7\3\2\2\2\33"+
|
||||
"\u00ed\3\2\2\2\35\u00ef\3\2\2\2\37\u00f5\3\2\2\2!\u00fc\3\2\2\2#\u00ff"+
|
||||
"\3\2\2\2%\u0106\3\2\2\2\'\u010c\3\2\2\2)\u0113\3\2\2\2+\u0119\3\2\2\2"+
|
||||
"-\u0122\3\2\2\2/\u0125\3\2\2\2\61\u012a\3\2\2\2\63\u0130\3\2\2\2\65\u0133"+
|
||||
"\3\2\2\2\67\u0137\3\2\2\29\u013e\3\2\2\2;\u0142\3\2\2\2=\u0145\3\2\2\2"+
|
||||
"?\u014c\3\2\2\2A\u014e\3\2\2\2C\u0150\3\2\2\2E\u0152\3\2\2\2G\u0155\3"+
|
||||
"\2\2\2I\u0158\3\2\2\2K\u015a\3\2\2\2M\u015c\3\2\2\2O\u015e\3\2\2\2Q\u0160"+
|
||||
"\3\2\2\2S\u0162\3\2\2\2U\u0165\3\2\2\2W\u0168\3\2\2\2Y\u016a\3\2\2\2["+
|
||||
"\u016c\3\2\2\2]\u016e\3\2\2\2_\u0170\3\2\2\2a\u0173\3\2\2\2c\u0176\3\2"+
|
||||
"\2\2e\u0179\3\2\2\2g\u017c\3\2\2\2i\u017e\3\2\2\2k\u0180\3\2\2\2m\u0183"+
|
||||
"\3\2\2\2o\u0186\3\2\2\2q\u0189\3\2\2\2s\u018c\3\2\2\2u\u018f\3\2\2\2w"+
|
||||
"\u0192\3\2\2\2y\u0195\3\2\2\2{\u0199\3\2\2\2}\u019d\3\2\2\2\177\u01a0"+
|
||||
"\3\2\2\2\u0081\u01a3\3\2\2\2\u0083\u01a6\3\2\2\2\u0085\u01ac\3\2\2\2\u0087"+
|
||||
"\u028c\3\2\2\2\u0089\u028e\3\2\2\2\u008b\u02af\3\2\2\2\u008d\u02b1\3\2"+
|
||||
"\2\2\u008f\u02bc\3\2\2\2\u0091\u02cd\3\2\2\2\u0093\u02d1\3\2\2\2\u0095"+
|
||||
"\u02d6\3\2\2\2\u0097\u02dd\3\2\2\2\u0099\u02ee\3\2\2\2\u009b\u02fc\3\2"+
|
||||
"\2\2\u009d\u030d\3\2\2\2\u009f\u031c\3\2\2\2\u00a1\u031f\3\2\2\2\u00a3"+
|
||||
"\u0328\3\2\2\2\u00a5\u032f\3\2\2\2\u00a7\u0331\3\2\2\2\u00a9\u0333\3\2"+
|
||||
"\2\2\u00ab\u0335\3\2\2\2\u00ad\u033c\3\2\2\2\u00af\u033e\3\2\2\2\u00b1"+
|
||||
"\u0340\3\2\2\2\u00b3\u034d\3\2\2\2\u00b5\u0353\3\2\2\2\u00b7\u035e\3\2"+
|
||||
"\2\2\u00b9\u00ba\7k\2\2\u00ba\u00bb\7o\2\2\u00bb\u00bc\7r\2\2\u00bc\u00bd"+
|
||||
"\7q\2\2\u00bd\u00be\7t\2\2\u00be\u00bf\7v\2\2\u00bf\4\3\2\2\2\u00c0\u00c1"+
|
||||
"\7?\2\2\u00c1\6\3\2\2\2\u00c2\u00c3\7=\2\2\u00c3\b\3\2\2\2\u00c4\u00c5"+
|
||||
"\7*\2\2\u00c5\n\3\2\2\2\u00c6\u00c7\7+\2\2\u00c7\f\3\2\2\2\u00c8\u00c9"+
|
||||
"\7}\2\2\u00c9\16\3\2\2\2\u00ca\u00cb\7\177\2\2\u00cb\20\3\2\2\2\u00cc"+
|
||||
"\u00cd\7m\2\2\u00cd\u00ce\7k\2\2\u00ce\u00cf\7e\2\2\u00cf\u00d0\7m\2\2"+
|
||||
"\u00d0\u00d1\7c\2\2\u00d1\u00d2\7u\2\2\u00d2\u00d3\7o\2\2\u00d3\22\3\2"+
|
||||
"\2\2\u00d4\u00d5\7.\2\2\u00d5\24\3\2\2\2\u00d6\u00d7\7t\2\2\u00d7\u00d8"+
|
||||
"\7g\2\2\u00d8\u00d9\7u\2\2\u00d9\u00da\7q\2\2\u00da\u00db\7w\2\2\u00db"+
|
||||
"\u00dc\7t\2\2\u00dc\u00dd\7e\2\2\u00dd\u00de\7g\2\2\u00de\26\3\2\2\2\u00df"+
|
||||
"\u00e0\7e\2\2\u00e0\u00e1\7n\2\2\u00e1\u00e2\7q\2\2\u00e2\u00e3\7d\2\2"+
|
||||
"\u00e3\u00e4\7d\2\2\u00e4\u00e5\7g\2\2\u00e5\u00e6\7t\2\2\u00e6\30\3\2"+
|
||||
"\2\2\u00e7\u00e8\7r\2\2\u00e8\u00e9\7c\2\2\u00e9\u00ea\7t\2\2\u00ea\u00eb"+
|
||||
"\7c\2\2\u00eb\u00ec\7o\2\2\u00ec\32\3\2\2\2\u00ed\u00ee\7<\2\2\u00ee\34"+
|
||||
"\3\2\2\2\u00ef\u00f0\7d\2\2\u00f0\u00f1\7{\2\2\u00f1\u00f2\7v\2\2\u00f2"+
|
||||
"\u00f3\7g\2\2\u00f3\u00f4\7u\2\2\u00f4\36\3\2\2\2\u00f5\u00f6\7e\2\2\u00f6"+
|
||||
"\u00f7\7{\2\2\u00f7\u00f8\7e\2\2\u00f8\u00f9\7n\2\2\u00f9\u00fa\7g\2\2"+
|
||||
"\u00fa\u00fb\7u\2\2\u00fb \3\2\2\2\u00fc\u00fd\7r\2\2\u00fd\u00fe\7e\2"+
|
||||
"\2\u00fe\"\3\2\2\2\u00ff\u0100\7k\2\2\u0100\u0101\7p\2\2\u0101\u0102\7"+
|
||||
"n\2\2\u0102\u0103\7k\2\2\u0103\u0104\7p\2\2\u0104\u0105\7g\2\2\u0105$"+
|
||||
"\3\2\2\2\u0106\u0107\7e\2\2\u0107\u0108\7q\2\2\u0108\u0109\7p\2\2\u0109"+
|
||||
"\u010a\7u\2\2\u010a\u010b\7v\2\2\u010b&\3\2\2\2\u010c\u010d\7g\2\2\u010d"+
|
||||
"\u010e\7z\2\2\u010e\u010f\7v\2\2\u010f\u0110\7g\2\2\u0110\u0111\7t\2\2"+
|
||||
"\u0111\u0112\7p\2\2\u0112(\3\2\2\2\u0113\u0114\7c\2\2\u0114\u0115\7n\2"+
|
||||
"\2\u0115\u0116\7k\2\2\u0116\u0117\7i\2\2\u0117\u0118\7p\2\2\u0118*\3\2"+
|
||||
"\2\2\u0119\u011a\7t\2\2\u011a\u011b\7g\2\2\u011b\u011c\7i\2\2\u011c\u011d"+
|
||||
"\7k\2\2\u011d\u011e\7u\2\2\u011e\u011f\7v\2\2\u011f\u0120\7g\2\2\u0120"+
|
||||
"\u0121\7t\2\2\u0121,\3\2\2\2\u0122\u0123\7k\2\2\u0123\u0124\7h\2\2\u0124"+
|
||||
".\3\2\2\2\u0125\u0126\7g\2\2\u0126\u0127\7n\2\2\u0127\u0128\7u\2\2\u0128"+
|
||||
"\u0129\7g\2\2\u0129\60\3\2\2\2\u012a\u012b\7y\2\2\u012b\u012c\7j\2\2\u012c"+
|
||||
"\u012d\7k\2\2\u012d\u012e\7n\2\2\u012e\u012f\7g\2\2\u012f\62\3\2\2\2\u0130"+
|
||||
"\u0131\7f\2\2\u0131\u0132\7q\2\2\u0132\64\3\2\2\2\u0133\u0134\7h\2\2\u0134"+
|
||||
"\u0135\7q\2\2\u0135\u0136\7t\2\2\u0136\66\3\2\2\2\u0137\u0138\7t\2\2\u0138"+
|
||||
"\u0139\7g\2\2\u0139\u013a\7v\2\2\u013a\u013b\7w\2\2\u013b\u013c\7t\2\2"+
|
||||
"\u013c\u013d\7p\2\2\u013d8\3\2\2\2\u013e\u013f\7c\2\2\u013f\u0140\7u\2"+
|
||||
"\2\u0140\u0141\7o\2\2\u0141:\3\2\2\2\u0142\u0143\7\60\2\2\u0143\u0144"+
|
||||
"\7\60\2\2\u0144<\3\2\2\2\u0145\u0146\7u\2\2\u0146\u0147\7k\2\2\u0147\u0148"+
|
||||
"\7i\2\2\u0148\u0149\7p\2\2\u0149\u014a\7g\2\2\u014a\u014b\7f\2\2\u014b"+
|
||||
">\3\2\2\2\u014c\u014d\7,\2\2\u014d@\3\2\2\2\u014e\u014f\7]\2\2\u014fB"+
|
||||
"\3\2\2\2\u0150\u0151\7_\2\2\u0151D\3\2\2\2\u0152\u0153\7/\2\2\u0153\u0154"+
|
||||
"\7/\2\2\u0154F\3\2\2\2\u0155\u0156\7-\2\2\u0156\u0157\7-\2\2\u0157H\3"+
|
||||
"\2\2\2\u0158\u0159\7-\2\2\u0159J\3\2\2\2\u015a\u015b\7/\2\2\u015bL\3\2"+
|
||||
"\2\2\u015c\u015d\7#\2\2\u015dN\3\2\2\2\u015e\u015f\7(\2\2\u015fP\3\2\2"+
|
||||
"\2\u0160\u0161\7\u0080\2\2\u0161R\3\2\2\2\u0162\u0163\7@\2\2\u0163\u0164"+
|
||||
"\7@\2\2\u0164T\3\2\2\2\u0165\u0166\7>\2\2\u0166\u0167\7>\2\2\u0167V\3"+
|
||||
"\2\2\2\u0168\u0169\7\61\2\2\u0169X\3\2\2\2\u016a\u016b\7\'\2\2\u016bZ"+
|
||||
"\3\2\2\2\u016c\u016d\7>\2\2\u016d\\\3\2\2\2\u016e\u016f\7@\2\2\u016f^"+
|
||||
"\3\2\2\2\u0170\u0171\7?\2\2\u0171\u0172\7?\2\2\u0172`\3\2\2\2\u0173\u0174"+
|
||||
"\7#\2\2\u0174\u0175\7?\2\2\u0175b\3\2\2\2\u0176\u0177\7>\2\2\u0177\u0178"+
|
||||
"\7?\2\2\u0178d\3\2\2\2\u0179\u017a\7@\2\2\u017a\u017b\7?\2\2\u017bf\3"+
|
||||
"\2\2\2\u017c\u017d\7`\2\2\u017dh\3\2\2\2\u017e\u017f\7~\2\2\u017fj\3\2"+
|
||||
"\2\2\u0180\u0181\7(\2\2\u0181\u0182\7(\2\2\u0182l\3\2\2\2\u0183\u0184"+
|
||||
"\7~\2\2\u0184\u0185\7~\2\2\u0185n\3\2\2\2\u0186\u0187\7-\2\2\u0187\u0188"+
|
||||
"\7?\2\2\u0188p\3\2\2\2\u0189\u018a\7/\2\2\u018a\u018b\7?\2\2\u018br\3"+
|
||||
"\2\2\2\u018c\u018d\7,\2\2\u018d\u018e\7?\2\2\u018et\3\2\2\2\u018f\u0190"+
|
||||
"\7\61\2\2\u0190\u0191\7?\2\2\u0191v\3\2\2\2\u0192\u0193\7\'\2\2\u0193"+
|
||||
"\u0194\7?\2\2\u0194x\3\2\2\2\u0195\u0196\7>\2\2\u0196\u0197\7>\2\2\u0197"+
|
||||
"\u0198\7?\2\2\u0198z\3\2\2\2\u0199\u019a\7@\2\2\u019a\u019b\7@\2\2\u019b"+
|
||||
"\u019c\7?\2\2\u019c|\3\2\2\2\u019d\u019e\7(\2\2\u019e\u019f\7?\2\2\u019f"+
|
||||
"~\3\2\2\2\u01a0\u01a1\7~\2\2\u01a1\u01a2\7?\2\2\u01a2\u0080\3\2\2\2\u01a3"+
|
||||
"\u01a4\7`\2\2\u01a4\u01a5\7?\2\2\u01a5\u0082\3\2\2\2\u01a6\u01a7\7\60"+
|
||||
"\2\2\u01a7\u01a8\7d\2\2\u01a8\u01a9\7{\2\2\u01a9\u01aa\7v\2\2\u01aa\u01ab"+
|
||||
"\7g\2\2\u01ab\u0084\3\2\2\2\u01ac\u01ad\7%\2\2\u01ad\u0086\3\2\2\2\u01ae"+
|
||||
"\u01af\7d\2\2\u01af\u01b0\7t\2\2\u01b0\u028d\7m\2\2\u01b1\u01b2\7q\2\2"+
|
||||
"\u01b2\u01b3\7t\2\2\u01b3\u028d\7c\2\2\u01b4\u01b5\7m\2\2\u01b5\u01b6"+
|
||||
"\7k\2\2\u01b6\u028d\7n\2\2\u01b7\u01b8\7u\2\2\u01b8\u01b9\7n\2\2\u01b9"+
|
||||
"\u028d\7q\2\2\u01ba\u01bb\7p\2\2\u01bb\u01bc\7q\2\2\u01bc\u028d\7r\2\2"+
|
||||
"\u01bd\u01be\7c\2\2\u01be\u01bf\7u\2\2\u01bf\u028d\7n\2\2\u01c0\u01c1"+
|
||||
"\7r\2\2\u01c1\u01c2\7j\2\2\u01c2\u028d\7r\2\2\u01c3\u01c4\7c\2\2\u01c4"+
|
||||
"\u01c5\7p\2\2\u01c5\u028d\7e\2\2\u01c6\u01c7\7d\2\2\u01c7\u01c8\7r\2\2"+
|
||||
"\u01c8\u028d\7n\2\2\u01c9\u01ca\7e\2\2\u01ca\u01cb\7n\2\2\u01cb\u028d"+
|
||||
"\7e\2\2\u01cc\u01cd\7l\2\2\u01cd\u01ce\7u\2\2\u01ce\u028d\7t\2\2\u01cf"+
|
||||
"\u01d0\7c\2\2\u01d0\u01d1\7p\2\2\u01d1\u028d\7f\2\2\u01d2\u01d3\7t\2\2"+
|
||||
"\u01d3\u01d4\7n\2\2\u01d4\u028d\7c\2\2\u01d5\u01d6\7d\2\2\u01d6\u01d7"+
|
||||
"\7k\2\2\u01d7\u028d\7v\2\2\u01d8\u01d9\7t\2\2\u01d9\u01da\7q\2\2\u01da"+
|
||||
"\u028d\7n\2\2\u01db\u01dc\7r\2\2\u01dc\u01dd\7n\2\2\u01dd\u028d\7c\2\2"+
|
||||
"\u01de\u01df\7r\2\2\u01df\u01e0\7n\2\2\u01e0\u028d\7r\2\2\u01e1\u01e2"+
|
||||
"\7d\2\2\u01e2\u01e3\7o\2\2\u01e3\u028d\7k\2\2\u01e4\u01e5\7u\2\2\u01e5"+
|
||||
"\u01e6\7g\2\2\u01e6\u028d\7e\2\2\u01e7\u01e8\7t\2\2\u01e8\u01e9\7v\2\2"+
|
||||
"\u01e9\u028d\7k\2\2\u01ea\u01eb\7g\2\2\u01eb\u01ec\7q\2\2\u01ec\u028d"+
|
||||
"\7t\2\2\u01ed\u01ee\7u\2\2\u01ee\u01ef\7t\2\2\u01ef\u028d\7g\2\2\u01f0"+
|
||||
"\u01f1\7n\2\2\u01f1\u01f2\7u\2\2\u01f2\u028d\7t\2\2\u01f3\u01f4\7r\2\2"+
|
||||
"\u01f4\u01f5\7j\2\2\u01f5\u028d\7c\2\2\u01f6\u01f7\7c\2\2\u01f7\u01f8"+
|
||||
"\7n\2\2\u01f8\u028d\7t\2\2\u01f9\u01fa\7l\2\2\u01fa\u01fb\7o\2\2\u01fb"+
|
||||
"\u028d\7r\2\2\u01fc\u01fd\7d\2\2\u01fd\u01fe\7x\2\2\u01fe\u028d\7e\2\2"+
|
||||
"\u01ff\u0200\7e\2\2\u0200\u0201\7n\2\2\u0201\u028d\7k\2\2\u0202\u0203"+
|
||||
"\7t\2\2\u0203\u0204\7v\2\2\u0204\u028d\7u\2\2\u0205\u0206\7c\2\2\u0206"+
|
||||
"\u0207\7f\2\2\u0207\u028d\7e\2\2\u0208\u0209\7t\2\2\u0209\u020a\7t\2\2"+
|
||||
"\u020a\u028d\7c\2\2\u020b\u020c\7d\2\2\u020c\u020d\7x\2\2\u020d\u028d"+
|
||||
"\7u\2\2\u020e\u020f\7u\2\2\u020f\u0210\7g\2\2\u0210\u028d\7k\2\2\u0211"+
|
||||
"\u0212\7u\2\2\u0212\u0213\7c\2\2\u0213\u028d\7z\2\2\u0214\u0215\7u\2\2"+
|
||||
"\u0215\u0216\7v\2\2\u0216\u028d\7{\2\2\u0217\u0218\7u\2\2\u0218\u0219"+
|
||||
"\7v\2\2\u0219\u028d\7c\2\2\u021a\u021b\7u\2\2\u021b\u021c\7v\2\2\u021c"+
|
||||
"\u028d\7z\2\2\u021d\u021e\7f\2\2\u021e\u021f\7g\2\2\u021f\u028d\7{\2\2"+
|
||||
"\u0220\u0221\7v\2\2\u0221\u0222\7z\2\2\u0222\u028d\7c\2\2\u0223\u0224"+
|
||||
"\7z\2\2\u0224\u0225\7c\2\2\u0225\u028d\7c\2\2\u0226\u0227\7d\2\2\u0227"+
|
||||
"\u0228\7e\2\2\u0228\u028d\7e\2\2\u0229\u022a\7c\2\2\u022a\u022b\7j\2\2"+
|
||||
"\u022b\u028d\7z\2\2\u022c\u022d\7v\2\2\u022d\u022e\7{\2\2\u022e\u028d"+
|
||||
"\7c\2\2\u022f\u0230\7v\2\2\u0230\u0231\7z\2\2\u0231\u028d\7u\2\2\u0232"+
|
||||
"\u0233\7v\2\2\u0233\u0234\7c\2\2\u0234\u028d\7u\2\2\u0235\u0236\7u\2\2"+
|
||||
"\u0236\u0237\7j\2\2\u0237\u028d\7{\2\2\u0238\u0239\7u\2\2\u0239\u023a"+
|
||||
"\7j\2\2\u023a\u028d\7z\2\2\u023b\u023c\7n\2\2\u023c\u023d\7f\2\2\u023d"+
|
||||
"\u028d\7{\2\2\u023e\u023f\7n\2\2\u023f\u0240\7f\2\2\u0240\u028d\7c\2\2"+
|
||||
"\u0241\u0242\7n\2\2\u0242\u0243\7f\2\2\u0243\u028d\7z\2\2\u0244\u0245"+
|
||||
"\7n\2\2\u0245\u0246\7c\2\2\u0246\u028d\7z\2\2\u0247\u0248\7v\2\2\u0248"+
|
||||
"\u0249\7c\2\2\u0249\u028d\7{\2\2\u024a\u024b\7v\2\2\u024b\u024c\7c\2\2"+
|
||||
"\u024c\u028d\7z\2\2\u024d\u024e\7d\2\2\u024e\u024f\7e\2\2\u024f\u028d"+
|
||||
"\7u\2\2\u0250\u0251\7e\2\2\u0251\u0252\7n\2\2\u0252\u028d\7x\2\2\u0253"+
|
||||
"\u0254\7v\2\2\u0254\u0255\7u\2\2\u0255\u028d\7z\2\2\u0256\u0257\7n\2\2"+
|
||||
"\u0257\u0258\7c\2\2\u0258\u028d\7u\2\2\u0259\u025a\7e\2\2\u025a\u025b"+
|
||||
"\7r\2\2\u025b\u028d\7{\2\2\u025c\u025d\7e\2\2\u025d\u025e\7o\2\2\u025e"+
|
||||
"\u028d\7r\2\2\u025f\u0260\7e\2\2\u0260\u0261\7r\2\2\u0261\u028d\7z\2\2"+
|
||||
"\u0262\u0263\7f\2\2\u0263\u0264\7e\2\2\u0264\u028d\7r\2\2\u0265\u0266"+
|
||||
"\7f\2\2\u0266\u0267\7g\2\2\u0267\u028d\7e\2\2\u0268\u0269\7k\2\2\u0269"+
|
||||
"\u026a\7p\2\2\u026a\u028d\7e\2\2\u026b\u026c\7c\2\2\u026c\u026d\7z\2\2"+
|
||||
"\u026d\u028d\7u\2\2\u026e\u026f\7d\2\2\u026f\u0270\7p\2\2\u0270\u028d"+
|
||||
"\7g\2\2\u0271\u0272\7e\2\2\u0272\u0273\7n\2\2\u0273\u028d\7f\2\2\u0274"+
|
||||
"\u0275\7u\2\2\u0275\u0276\7d\2\2\u0276\u028d\7e\2\2\u0277\u0278\7k\2\2"+
|
||||
"\u0278\u0279\7u\2\2\u0279\u028d\7e\2\2\u027a\u027b\7k\2\2\u027b\u027c"+
|
||||
"\7p\2\2\u027c\u028d\7z\2\2\u027d\u027e\7d\2\2\u027e\u027f\7g\2\2\u027f"+
|
||||
"\u028d\7s\2\2\u0280\u0281\7u\2\2\u0281\u0282\7g\2\2\u0282\u028d\7f\2\2"+
|
||||
"\u0283\u0284\7f\2\2\u0284\u0285\7g\2\2\u0285\u028d\7z\2\2\u0286\u0287"+
|
||||
"\7k\2\2\u0287\u0288\7p\2\2\u0288\u028d\7{\2\2\u0289\u028a\7t\2\2\u028a"+
|
||||
"\u028b\7q\2\2\u028b\u028d\7t\2\2\u028c\u01ae\3\2\2\2\u028c\u01b1\3\2\2"+
|
||||
"\2\u028c\u01b4\3\2\2\2\u028c\u01b7\3\2\2\2\u028c\u01ba\3\2\2\2\u028c\u01bd"+
|
||||
"\3\2\2\2\u028c\u01c0\3\2\2\2\u028c\u01c3\3\2\2\2\u028c\u01c6\3\2\2\2\u028c"+
|
||||
"\u01c9\3\2\2\2\u028c\u01cc\3\2\2\2\u028c\u01cf\3\2\2\2\u028c\u01d2\3\2"+
|
||||
"\2\2\u028c\u01d5\3\2\2\2\u028c\u01d8\3\2\2\2\u028c\u01db\3\2\2\2\u028c"+
|
||||
"\u01de\3\2\2\2\u028c\u01e1\3\2\2\2\u028c\u01e4\3\2\2\2\u028c\u01e7\3\2"+
|
||||
"\2\2\u028c\u01ea\3\2\2\2\u028c\u01ed\3\2\2\2\u028c\u01f0\3\2\2\2\u028c"+
|
||||
"\u01f3\3\2\2\2\u028c\u01f6\3\2\2\2\u028c\u01f9\3\2\2\2\u028c\u01fc\3\2"+
|
||||
"\2\2\u028c\u01ff\3\2\2\2\u028c\u0202\3\2\2\2\u028c\u0205\3\2\2\2\u028c"+
|
||||
"\u0208\3\2\2\2\u028c\u020b\3\2\2\2\u028c\u020e\3\2\2\2\u028c\u0211\3\2"+
|
||||
"\2\2\u028c\u0214\3\2\2\2\u028c\u0217\3\2\2\2\u028c\u021a\3\2\2\2\u028c"+
|
||||
"\u021d\3\2\2\2\u028c\u0220\3\2\2\2\u028c\u0223\3\2\2\2\u028c\u0226\3\2"+
|
||||
"\2\2\u028c\u0229\3\2\2\2\u028c\u022c\3\2\2\2\u028c\u022f\3\2\2\2\u028c"+
|
||||
"\u0232\3\2\2\2\u028c\u0235\3\2\2\2\u028c\u0238\3\2\2\2\u028c\u023b\3\2"+
|
||||
"\2\2\u028c\u023e\3\2\2\2\u028c\u0241\3\2\2\2\u028c\u0244\3\2\2\2\u028c"+
|
||||
"\u0247\3\2\2\2\u028c\u024a\3\2\2\2\u028c\u024d\3\2\2\2\u028c\u0250\3\2"+
|
||||
"\2\2\u028c\u0253\3\2\2\2\u028c\u0256\3\2\2\2\u028c\u0259\3\2\2\2\u028c"+
|
||||
"\u025c\3\2\2\2\u028c\u025f\3\2\2\2\u028c\u0262\3\2\2\2\u028c\u0265\3\2"+
|
||||
"\2\2\u028c\u0268\3\2\2\2\u028c\u026b\3\2\2\2\u028c\u026e\3\2\2\2\u028c"+
|
||||
"\u0271\3\2\2\2\u028c\u0274\3\2\2\2\u028c\u0277\3\2\2\2\u028c\u027a\3\2"+
|
||||
"\2\2\u028c\u027d\3\2\2\2\u028c\u0280\3\2\2\2\u028c\u0283\3\2\2\2\u028c"+
|
||||
"\u0286\3\2\2\2\u028c\u0289\3\2\2\2\u028d\u0088\3\2\2\2\u028e\u028f\7}"+
|
||||
"\2\2\u028f\u0290\7}\2\2\u0290\u0294\3\2\2\2\u0291\u0293\13\2\2\2\u0292"+
|
||||
"\u0291\3\2\2\2\u0293\u0296\3\2\2\2\u0294\u0295\3\2\2\2\u0294\u0292\3\2"+
|
||||
"\2\2\u0295\u0297\3\2\2\2\u0296\u0294\3\2\2\2\u0297\u0298\7\177\2\2\u0298"+
|
||||
"\u0299\7\177\2\2\u0299\u008a\3\2\2\2\u029a\u029b\7d\2\2\u029b\u029c\7"+
|
||||
"{\2\2\u029c\u029d\7v\2\2\u029d\u02b0\7g\2\2\u029e\u029f\7y\2\2\u029f\u02a0"+
|
||||
"\7q\2\2\u02a0\u02a1\7t\2\2\u02a1\u02b0\7f\2\2\u02a2\u02a3\7f\2\2\u02a3"+
|
||||
"\u02a4\7y\2\2\u02a4\u02a5\7q\2\2\u02a5\u02a6\7t\2\2\u02a6\u02b0\7f\2\2"+
|
||||
"\u02a7\u02a8\7d\2\2\u02a8\u02a9\7q\2\2\u02a9\u02aa\7q\2\2\u02aa\u02b0"+
|
||||
"\7n\2\2\u02ab\u02ac\7x\2\2\u02ac\u02ad\7q\2\2\u02ad\u02ae\7k\2\2\u02ae"+
|
||||
"\u02b0\7f\2\2\u02af\u029a\3\2\2\2\u02af\u029e\3\2\2\2\u02af\u02a2\3\2"+
|
||||
"\2\2\u02af\u02a7\3\2\2\2\u02af\u02ab\3\2\2\2\u02b0\u008c\3\2\2\2\u02b1"+
|
||||
"\u02b7\7$\2\2\u02b2\u02b3\7^\2\2\u02b3\u02b6\7$\2\2\u02b4\u02b6\n\2\2"+
|
||||
"\2\u02b5\u02b2\3\2\2\2\u02b5\u02b4\3\2\2\2\u02b6\u02b9\3\2\2\2\u02b7\u02b5"+
|
||||
"\3\2\2\2\u02b7\u02b8\3\2\2\2\u02b8\u02ba\3\2\2\2\u02b9\u02b7\3\2\2\2\u02ba"+
|
||||
"\u02bb\7$\2\2\u02bb\u008e\3\2\2\2\u02bc\u02c0\7)\2\2\u02bd\u02be\7^\2"+
|
||||
"\2\u02be\u02c1\7)\2\2\u02bf\u02c1\n\3\2\2\u02c0\u02bd\3\2\2\2\u02c0\u02bf"+
|
||||
"\3\2\2\2\u02c1\u02c2\3\2\2\2\u02c2\u02c3\7)\2\2\u02c3\u0090\3\2\2\2\u02c4"+
|
||||
"\u02c5\7v\2\2\u02c5\u02c6\7t\2\2\u02c6\u02c7\7w\2\2\u02c7\u02ce\7g\2\2"+
|
||||
"\u02c8\u02c9\7h\2\2\u02c9\u02ca\7c\2\2\u02ca\u02cb\7n\2\2\u02cb\u02cc"+
|
||||
"\7u\2\2\u02cc\u02ce\7g\2\2\u02cd\u02c4\3\2\2\2\u02cd\u02c8\3\2\2\2\u02ce"+
|
||||
"\u0092\3\2\2\2\u02cf\u02d2\5\u0095K\2\u02d0\u02d2\5\u009dO\2\u02d1\u02cf"+
|
||||
"\3\2\2\2\u02d1\u02d0\3\2\2\2\u02d2\u0094\3\2\2\2\u02d3\u02d7\5\u0097L"+
|
||||
"\2\u02d4\u02d7\5\u0099M\2\u02d5\u02d7\5\u009bN\2\u02d6\u02d3\3\2\2\2\u02d6"+
|
||||
"\u02d4\3\2\2\2\u02d6\u02d5\3\2\2\2\u02d7\u0096\3\2\2\2\u02d8\u02de\7\'"+
|
||||
"\2\2\u02d9\u02da\7\62\2\2\u02da\u02de\7d\2\2\u02db\u02dc\7\62\2\2\u02dc"+
|
||||
"\u02de\7D\2\2\u02dd\u02d8\3\2\2\2\u02dd\u02d9\3\2\2\2\u02dd\u02db\3\2"+
|
||||
"\2\2\u02de\u02e2\3\2\2\2\u02df\u02e1\5\u00a5S\2\u02e0\u02df\3\2\2\2\u02e1"+
|
||||
"\u02e4\3\2\2\2\u02e2\u02e0\3\2\2\2\u02e2\u02e3\3\2\2\2\u02e3\u02e5\3\2"+
|
||||
"\2\2\u02e4\u02e2\3\2\2\2\u02e5\u02e7\7\60\2\2\u02e6\u02e8\5\u00a5S\2\u02e7"+
|
||||
"\u02e6\3\2\2\2\u02e8\u02e9\3\2\2\2\u02e9\u02e7\3\2\2\2\u02e9\u02ea\3\2"+
|
||||
"\2\2\u02ea\u0098\3\2\2\2\u02eb\u02ed\5\u00a7T\2\u02ec\u02eb\3\2\2\2\u02ed"+
|
||||
"\u02f0\3\2\2\2\u02ee\u02ec\3\2\2\2\u02ee\u02ef\3\2\2\2\u02ef\u02f1\3\2"+
|
||||
"\2\2\u02f0\u02ee\3\2\2\2\u02f1\u02f3\7\60\2\2\u02f2\u02f4\5\u00a7T\2\u02f3"+
|
||||
"\u02f2\3\2\2\2\u02f4\u02f5\3\2\2\2\u02f5\u02f3\3\2\2\2\u02f5\u02f6\3\2"+
|
||||
"\2\2\u02f6\u009a\3\2\2\2\u02f7\u02fd\7&\2\2\u02f8\u02f9\7\62\2\2\u02f9"+
|
||||
"\u02fd\7z\2\2\u02fa\u02fb\7\62\2\2\u02fb\u02fd\7Z\2\2\u02fc\u02f7\3\2"+
|
||||
"\2\2\u02fc\u02f8\3\2\2\2\u02fc\u02fa\3\2\2\2\u02fd\u0301\3\2\2\2\u02fe"+
|
||||
"\u0300\5\u00a9U\2\u02ff\u02fe\3\2\2\2\u0300\u0303\3\2\2\2\u0301\u02ff"+
|
||||
"\3\2\2\2\u0301\u0302\3\2\2\2\u0302\u0304\3\2\2\2\u0303\u0301\3\2\2\2\u0304"+
|
||||
"\u0306\7\60\2\2\u0305\u0307\5\u00a9U\2\u0306\u0305\3\2\2\2\u0307\u0308"+
|
||||
"\3\2\2\2\u0308\u0306\3\2\2\2\u0308\u0309\3\2\2\2\u0309\u009c\3\2\2\2\u030a"+
|
||||
"\u030e\5\u00a1Q\2\u030b\u030e\5\u00a3R\2\u030c\u030e\5\u009fP\2\u030d"+
|
||||
"\u030a\3\2\2\2\u030d\u030b\3\2\2\2\u030d\u030c\3\2\2\2\u030e\u009e\3\2"+
|
||||
"\2\2\u030f\u0310\7\62\2\2\u0310\u0312\t\4\2\2\u0311\u0313\5\u00a5S\2\u0312"+
|
||||
"\u0311\3\2\2\2\u0313\u0314\3\2\2\2\u0314\u0312\3\2\2\2\u0314\u0315\3\2"+
|
||||
"\2\2\u0315\u031d\3\2\2\2\u0316\u0318\7\'\2\2\u0317\u0319\5\u00a5S\2\u0318"+
|
||||
"\u0317\3\2\2\2\u0319\u031a\3\2\2\2\u031a\u0318\3\2\2\2\u031a\u031b\3\2"+
|
||||
"\2\2\u031b\u031d\3\2\2\2\u031c\u030f\3\2\2\2\u031c\u0316\3\2\2\2\u031d"+
|
||||
"\u00a0\3\2\2\2\u031e\u0320\5\u00a7T\2\u031f\u031e\3\2\2\2\u0320\u0321"+
|
||||
"\3\2\2\2\u0321\u031f\3\2\2\2\u0321\u0322\3\2\2\2\u0322\u00a2\3\2\2\2\u0323"+
|
||||
"\u0329\7&\2\2\u0324\u0325\7\62\2\2\u0325\u0329\7z\2\2\u0326\u0327\7\62"+
|
||||
"\2\2\u0327\u0329\7Z\2\2\u0328\u0323\3\2\2\2\u0328\u0324\3\2\2\2\u0328"+
|
||||
"\u0326\3\2\2\2\u0329\u032b\3\2\2\2\u032a\u032c\5\u00a9U\2\u032b\u032a"+
|
||||
"\3\2\2\2\u032c\u032d\3\2\2\2\u032d\u032b\3\2\2\2\u032d\u032e\3\2\2\2\u032e"+
|
||||
"\u00a4\3\2\2\2\u032f\u0330\t\5\2\2\u0330\u00a6\3\2\2\2\u0331\u0332\t\6"+
|
||||
"\2\2\u0332\u00a8\3\2\2\2\u0333\u0334\t\7\2\2\u0334\u00aa\3\2\2\2\u0335"+
|
||||
"\u0339\5\u00adW\2\u0336\u0338\5\u00afX\2\u0337\u0336\3\2\2\2\u0338\u033b"+
|
||||
"\3\2\2\2\u0339\u0337\3\2\2\2\u0339\u033a\3\2\2\2\u033a\u00ac\3\2\2\2\u033b"+
|
||||
"\u0339\3\2\2\2\u033c\u033d\t\b\2\2\u033d\u00ae\3\2\2\2\u033e\u033f\t\t"+
|
||||
"\2\2\u033f\u00b0\3\2\2\2\u0340\u0344\7#\2\2\u0341\u0343\5\u00afX\2\u0342"+
|
||||
"\u0341\3\2\2\2\u0343\u0346\3\2\2\2\u0344\u0342\3\2\2\2\u0344\u0345\3\2"+
|
||||
"\2\2\u0345\u0348\3\2\2\2\u0346\u0344\3\2\2\2\u0347\u0349\t\n\2\2\u0348"+
|
||||
"\u0347\3\2\2\2\u0349\u034a\3\2\2\2\u034a\u0348\3\2\2\2\u034a\u034b\3\2"+
|
||||
"\2\2\u034b\u00b2\3\2\2\2\u034c\u034e\t\13\2\2\u034d\u034c\3\2\2\2\u034e"+
|
||||
"\u034f\3\2\2\2\u034f\u034d\3\2\2\2\u034f\u0350\3\2\2\2\u0350\u0351\3\2"+
|
||||
"\2\2\u0351\u0352\bZ\2\2\u0352\u00b4\3\2\2\2\u0353\u0354\7\61\2\2\u0354"+
|
||||
"\u0355\7\61\2\2\u0355\u0359\3\2\2\2\u0356\u0358\n\f\2\2\u0357\u0356\3"+
|
||||
"\2\2\2\u0358\u035b\3\2\2\2\u0359\u0357\3\2\2\2\u0359\u035a\3\2\2\2\u035a"+
|
||||
"\u035c\3\2\2\2\u035b\u0359\3\2\2\2\u035c\u035d\b[\2\2\u035d\u00b6\3\2"+
|
||||
"\2\2\u035e\u035f\7\61\2\2\u035f\u0360\7,\2\2\u0360\u0364\3\2\2\2\u0361"+
|
||||
"\u0363\13\2\2\2\u0362\u0361\3\2\2\2\u0363\u0366\3\2\2\2\u0364\u0365\3"+
|
||||
"\2\2\2\u0364\u0362\3\2\2\2\u0365\u0367\3\2\2\2\u0366\u0364\3\2\2\2\u0367"+
|
||||
"\u0368\7,\2\2\u0368\u0369\7\61\2\2\u0369\u036a\3\2\2\2\u036a\u036b\b\\"+
|
||||
"\2\2\u036b\u00b8\3\2\2\2!\2\u028c\u0294\u02af\u02b5\u02b7\u02c0\u02cd"+
|
||||
"\u02d1\u02d6\u02dd\u02e2\u02e9\u02ee\u02f5\u02fc\u0301\u0308\u030d\u0314"+
|
||||
"\u031a\u031c\u0321\u0328\u032d\u0339\u0344\u034a\u034f\u0359\u0364\3\b"+
|
||||
"\2\2";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
@ -99,7 +99,7 @@ COMMENT_BLOCK=86
|
||||
':'=13
|
||||
'bytes'=14
|
||||
'cycles'=15
|
||||
'location'=16
|
||||
'pc'=16
|
||||
'inline'=17
|
||||
'const'=18
|
||||
'extern'=19
|
||||
|
@ -168,17 +168,17 @@ public interface KickCListener extends ParseTreeListener {
|
||||
*/
|
||||
void exitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by the {@code kasmDirectiveLocation}
|
||||
* Enter a parse tree produced by the {@code kasmDirectiveAddress}
|
||||
* labeled alternative in {@link KickCParser#kasmDirective}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx);
|
||||
void enterKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by the {@code kasmDirectiveLocation}
|
||||
* Exit a parse tree produced by the {@code kasmDirectiveAddress}
|
||||
* labeled alternative in {@link KickCParser#kasmDirective}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx);
|
||||
void exitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by {@link KickCParser#parameterListDecl}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -50,12 +50,12 @@ public class KickCParser extends Parser {
|
||||
private static final String[] _LITERAL_NAMES = {
|
||||
null, "'import'", "'='", "';'", "'('", "')'", "'{'", "'}'", "'kickasm'",
|
||||
"','", "'resource'", "'clobber'", "'param'", "':'", "'bytes'", "'cycles'",
|
||||
"'location'", "'inline'", "'const'", "'extern'", "'align'", "'register'",
|
||||
"'if'", "'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "'..'",
|
||||
"'signed'", "'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", "'!'",
|
||||
"'&'", "'~'", "'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='",
|
||||
"'<='", "'>='", "'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", "'*='",
|
||||
"'/='", "'%='", "'<<='", "'>>='", "'&='", "'|='", "'^='", "'.byte'", "'#'"
|
||||
"'pc'", "'inline'", "'const'", "'extern'", "'align'", "'register'", "'if'",
|
||||
"'else'", "'while'", "'do'", "'for'", "'return'", "'asm'", "'..'", "'signed'",
|
||||
"'*'", "'['", "']'", "'--'", "'++'", "'+'", "'-'", "'!'", "'&'", "'~'",
|
||||
"'>>'", "'<<'", "'/'", "'%'", "'<'", "'>'", "'=='", "'!='", "'<='", "'>='",
|
||||
"'^'", "'|'", "'&&'", "'||'", "'+='", "'-='", "'*='", "'/='", "'%='",
|
||||
"'<<='", "'>>='", "'&='", "'|='", "'^='", "'.byte'", "'#'"
|
||||
};
|
||||
private static final String[] _SYMBOLIC_NAMES = {
|
||||
null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
@ -853,25 +853,6 @@ public class KickCParser extends Parser {
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
}
|
||||
public static class KasmDirectiveLocationContext extends KasmDirectiveContext {
|
||||
public ExprContext expr() {
|
||||
return getRuleContext(ExprContext.class,0);
|
||||
}
|
||||
public KasmDirectiveLocationContext(KasmDirectiveContext ctx) { copyFrom(ctx); }
|
||||
@Override
|
||||
public void enterRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof KickCListener ) ((KickCListener)listener).enterKasmDirectiveLocation(this);
|
||||
}
|
||||
@Override
|
||||
public void exitRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof KickCListener ) ((KickCListener)listener).exitKasmDirectiveLocation(this);
|
||||
}
|
||||
@Override
|
||||
public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
||||
if ( visitor instanceof KickCVisitor ) return ((KickCVisitor<? extends T>)visitor).visitKasmDirectiveLocation(this);
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
}
|
||||
public static class KasmDirectiveClobberContext extends KasmDirectiveContext {
|
||||
public TerminalNode STRING() { return getToken(KickCParser.STRING, 0); }
|
||||
public KasmDirectiveClobberContext(KasmDirectiveContext ctx) { copyFrom(ctx); }
|
||||
@ -889,6 +870,25 @@ public class KickCParser extends Parser {
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
}
|
||||
public static class KasmDirectiveAddressContext extends KasmDirectiveContext {
|
||||
public ExprContext expr() {
|
||||
return getRuleContext(ExprContext.class,0);
|
||||
}
|
||||
public KasmDirectiveAddressContext(KasmDirectiveContext ctx) { copyFrom(ctx); }
|
||||
@Override
|
||||
public void enterRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof KickCListener ) ((KickCListener)listener).enterKasmDirectiveAddress(this);
|
||||
}
|
||||
@Override
|
||||
public void exitRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof KickCListener ) ((KickCListener)listener).exitKasmDirectiveAddress(this);
|
||||
}
|
||||
@Override
|
||||
public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
||||
if ( visitor instanceof KickCVisitor ) return ((KickCVisitor<? extends T>)visitor).visitKasmDirectiveAddress(this);
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
}
|
||||
public static class KasmDirectiveTransferContext extends KasmDirectiveContext {
|
||||
public TerminalNode NAME() { return getToken(KickCParser.NAME, 0); }
|
||||
public ExprContext expr() {
|
||||
@ -972,7 +972,7 @@ public class KickCParser extends Parser {
|
||||
}
|
||||
break;
|
||||
case T__15:
|
||||
_localctx = new KasmDirectiveLocationContext(_localctx);
|
||||
_localctx = new KasmDirectiveAddressContext(_localctx);
|
||||
enterOuterAlt(_localctx, 6);
|
||||
{
|
||||
setState(156);
|
||||
|
@ -106,12 +106,12 @@ public interface KickCVisitor<T> extends ParseTreeVisitor<T> {
|
||||
*/
|
||||
T visitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx);
|
||||
/**
|
||||
* Visit a parse tree produced by the {@code kasmDirectiveLocation}
|
||||
* Visit a parse tree produced by the {@code kasmDirectiveAddress}
|
||||
* labeled alternative in {@link KickCParser#kasmDirective}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx);
|
||||
T visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx);
|
||||
/**
|
||||
* Visit a parse tree produced by {@link KickCParser#parameterListDecl}.
|
||||
* @param ctx the parse tree
|
||||
|
@ -160,6 +160,10 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
|
||||
for(KasmDirective kasmDirective : kasmDirectives) {
|
||||
if(kasmDirective instanceof KasmDirectiveLocation) {
|
||||
statementKickAsm.setLocation(((KasmDirectiveLocation) kasmDirective).getAddress());
|
||||
} else if(kasmDirective instanceof KasmDirectiveBytes) {
|
||||
statementKickAsm.setBytes(((KasmDirectiveBytes) kasmDirective).getBytes());
|
||||
} else if(kasmDirective instanceof KasmDirectiveCycles) {
|
||||
statementKickAsm.setCycles(((KasmDirectiveCycles) kasmDirective).getCycles());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -197,10 +201,8 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object visitKasmDirectiveLocation(KickCParser.KasmDirectiveLocationContext ctx) {
|
||||
ParseTree child = ctx.getChild(1);
|
||||
public Object visitKasmDirectiveAddress(KickCParser.KasmDirectiveAddressContext ctx) {
|
||||
if(ctx.expr()!=null) {
|
||||
RValue expr = (RValue) visit(ctx.expr());
|
||||
return new KasmDirectiveLocation(expr);
|
||||
@ -210,6 +212,46 @@ public class Pass0GenerateStatementSequence extends KickCBaseVisitor<Object> {
|
||||
}
|
||||
}
|
||||
|
||||
/** KickAssembler directive specifying the number of bytes for generated code/data. */
|
||||
public static class KasmDirectiveBytes implements KasmDirective {
|
||||
/** bytes for the KickAssembler-code. */
|
||||
private long bytes;
|
||||
|
||||
public KasmDirectiveBytes(long bytes) {
|
||||
this.bytes= bytes;
|
||||
}
|
||||
|
||||
public long getBytes() {
|
||||
return bytes;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public KasmDirective visitKasmDirectiveBytes(KickCParser.KasmDirectiveBytesContext ctx) {
|
||||
Number bytes = NumberParser.parseLiteral(ctx.NUMBER().getText());
|
||||
return new KasmDirectiveBytes(bytes.longValue());
|
||||
}
|
||||
|
||||
/** KickAssembler directive specifying the number of cycles for generated code/data. */
|
||||
public static class KasmDirectiveCycles implements KasmDirective {
|
||||
/** cycles for the KickAssembler-code. */
|
||||
private long cycles;
|
||||
|
||||
public KasmDirectiveCycles(long cycles) {
|
||||
this.cycles= cycles;
|
||||
}
|
||||
|
||||
public long getCycles() {
|
||||
return cycles;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public KasmDirective visitKasmDirectiveCycles(KickCParser.KasmDirectiveCyclesContext ctx) {
|
||||
Number cycles = NumberParser.parseLiteral(ctx.NUMBER().getText());
|
||||
return new KasmDirectiveCycles(cycles.longValue());
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object visitKasmDirectiveResource(KickCParser.KasmDirectiveResourceContext ctx) {
|
||||
TerminalNode resource = ctx.STRING();
|
||||
|
@ -110,7 +110,7 @@ public class Pass4CodeGeneration {
|
||||
StatementKickAsm statementKasm = (StatementKickAsm) statement;
|
||||
if(statementKasm.getLocation() != null) {
|
||||
asm.addLine(new AsmSetPc("Inline", AsmFormat.getAsmConstant(program, (ConstantValue) statementKasm.getLocation(), 99, ScopeRef.ROOT)));
|
||||
asm.addInlinedKickAsm(statementKasm.getKickAsmCode());
|
||||
asm.addInlinedKickAsm(statementKasm.getKickAsmCode(), statementKasm.getBytes(), statementKasm.getCycles());
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -440,7 +440,7 @@ public class Pass4CodeGeneration {
|
||||
} else if(statement instanceof StatementKickAsm) {
|
||||
StatementKickAsm statementKasm = (StatementKickAsm) statement;
|
||||
if(statementKasm.getLocation() == null) {
|
||||
asm.addInlinedKickAsm(statementKasm.getKickAsmCode());
|
||||
asm.addInlinedKickAsm(statementKasm.getKickAsmCode(), statementKasm.getBytes(), statementKasm.getCycles());
|
||||
}
|
||||
} else {
|
||||
throw new RuntimeException("Statement not supported " + statement);
|
||||
|
@ -4,7 +4,7 @@ import "memory.kc"
|
||||
|
||||
byte* SCREEN = $400;
|
||||
byte* LOGO = $2000;
|
||||
kickasm(resource "logo.png", location LOGO ) {{
|
||||
kickasm(resource "logo.png", pc LOGO, bytes $780) {{
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
|
@ -3,6 +3,15 @@ import "c64.kc"
|
||||
byte* SCREEN = $400;
|
||||
byte* LOGO = $2000;
|
||||
|
||||
kickasm(resource "logo.png", pc LOGO ) {{
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
}}
|
||||
|
||||
void main() {
|
||||
*BORDERCOL = WHITE;
|
||||
*BGCOL = *BGCOL2 = DARK_GREY;
|
||||
@ -28,14 +37,3 @@ void fill(byte* start, word size, byte val) {
|
||||
}
|
||||
}
|
||||
|
||||
kickasm(resources "logo.png" ) {{
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
|
@ -5,7 +5,7 @@ import "memory.kc"
|
||||
|
||||
byte* SCREEN = $400;
|
||||
byte* LOGO = $2000;
|
||||
kickasm(resource "logo.png", location LOGO ) {{
|
||||
kickasm(resource "logo.png", pc LOGO, bytes $780) {{
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
|
@ -15,16 +15,6 @@
|
||||
.const DARK_GREY = $b
|
||||
.label SCREEN = $400
|
||||
.label LOGO = $2000
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
|
||||
jsr main
|
||||
main: {
|
||||
.const toD0181_return = (>(SCREEN&$3fff)<<2)|(>LOGO)>>2&$f
|
||||
@ -98,3 +88,11 @@ fill: {
|
||||
bne b1
|
||||
rts
|
||||
}
|
||||
.pc = LOGO "Inline"
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
|
||||
|
@ -1,61 +1,61 @@
|
||||
@begin: scope:[] from
|
||||
[0] phi() [ ] ( )
|
||||
to:@5
|
||||
@5: scope:[] from @begin
|
||||
kickasm {{ .label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
to:@3
|
||||
@3: scope:[] from @begin
|
||||
kickasm(location (const byte*) LOGO#0) {{ logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
[2] call main [ ] ( )
|
||||
to:@5
|
||||
@5: scope:[] from @3
|
||||
[2] phi() [ ] ( )
|
||||
[3] call main [ ] ( )
|
||||
to:@end
|
||||
@end: scope:[] from @5
|
||||
[3] phi() [ ] ( )
|
||||
[4] phi() [ ] ( )
|
||||
main: scope:[main] from @5
|
||||
[4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] )
|
||||
[5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] )
|
||||
[6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] )
|
||||
[7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] )
|
||||
[5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] )
|
||||
[6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] )
|
||||
[7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] )
|
||||
[8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] )
|
||||
to:main::toD0181
|
||||
main::toD0181: scope:[main] from main
|
||||
[8] phi() [ ] ( main:2 [ ] )
|
||||
[9] phi() [ ] ( main:3 [ ] )
|
||||
to:main::@9
|
||||
main::@9: scope:[main] from main::toD0181
|
||||
[9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] )
|
||||
[10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] )
|
||||
[11] call fill [ ] ( main:2 [ ] )
|
||||
[10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] )
|
||||
[11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] )
|
||||
[12] call fill [ ] ( main:3 [ ] )
|
||||
to:main::@10
|
||||
main::@10: scope:[main] from main::@9
|
||||
[12] phi() [ ] ( main:2 [ ] )
|
||||
[13] call fill [ ] ( main:2 [ ] )
|
||||
[13] phi() [ ] ( main:3 [ ] )
|
||||
[14] call fill [ ] ( main:3 [ ] )
|
||||
to:main::@1
|
||||
main::@1: scope:[main] from main::@1 main::@10
|
||||
[14] (byte) main::ch#2 ← phi( main::@1/(byte) main::ch#1 main::@10/(byte/signed byte/word/signed word/dword/signed dword) 0 ) [ main::ch#2 ] ( main:2 [ main::ch#2 ] )
|
||||
[15] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:2 [ main::ch#2 ] )
|
||||
[16] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:2 [ main::ch#1 ] )
|
||||
[17] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:2 [ main::ch#1 ] )
|
||||
[15] (byte) main::ch#2 ← phi( main::@1/(byte) main::ch#1 main::@10/(byte/signed byte/word/signed word/dword/signed dword) 0 ) [ main::ch#2 ] ( main:3 [ main::ch#2 ] )
|
||||
[16] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:3 [ main::ch#2 ] )
|
||||
[17] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:3 [ main::ch#1 ] )
|
||||
[18] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:3 [ main::ch#1 ] )
|
||||
to:main::@3
|
||||
main::@3: scope:[main] from main::@1 main::@3
|
||||
[18] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:2 [ ] )
|
||||
[19] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:3 [ ] )
|
||||
kickasm {{ inc $d020 }}
|
||||
to:main::@3
|
||||
fill: scope:[fill] from main::@10 main::@9
|
||||
[20] (byte) fill::val#3 ← phi( main::@10/(const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 main::@9/(const byte) BLACK#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[20] (word) fill::size#2 ← phi( main::@10/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 main::@9/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[20] (byte*) fill::addr#0 ← phi( main::@10/(const byte*) COLS#0 main::@9/(const byte*) SCREEN#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] )
|
||||
[21] (byte) fill::val#3 ← phi( main::@10/(const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 main::@9/(const byte) BLACK#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (word) fill::size#2 ← phi( main::@10/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 main::@9/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (byte*) fill::addr#0 ← phi( main::@10/(const byte*) COLS#0 main::@9/(const byte*) SCREEN#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] )
|
||||
to:fill::@1
|
||||
fill::@1: scope:[fill] from fill fill::@1
|
||||
[22] (byte*) fill::addr#2 ← phi( fill/(byte*) fill::addr#0 fill::@1/(byte*) fill::addr#1 ) [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[24] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[23] (byte*) fill::addr#2 ← phi( fill/(byte*) fill::addr#0 fill::@1/(byte*) fill::addr#1 ) [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[25] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
to:fill::@return
|
||||
fill::@return: scope:[fill] from fill::@1
|
||||
[26] return [ ] ( main:2::fill:11 [ ] main:2::fill:13 [ ] )
|
||||
[27] return [ ] ( main:3::fill:12 [ ] main:3::fill:14 [ ] )
|
||||
to:@return
|
||||
|
@ -4,6 +4,15 @@ import "c64.kc"
|
||||
byte* SCREEN = $400;
|
||||
byte* LOGO = $2000;
|
||||
|
||||
kickasm(resource "logo.png", pc LOGO ) {{
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
}}
|
||||
|
||||
void main() {
|
||||
*BORDERCOL = WHITE;
|
||||
*BGCOL = *BGCOL2 = DARK_GREY;
|
||||
@ -29,17 +38,6 @@ void fill(byte* start, word size, byte val) {
|
||||
}
|
||||
}
|
||||
|
||||
kickasm(resources "logo.png" ) {{
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
|
||||
Importing c64.kc
|
||||
PARSING src/test/java/dk/camelot64/kickc/test/kc/c64.kc
|
||||
@ -155,9 +153,9 @@ inline void vicSelectGfxBank(byte* gfx) {
|
||||
*CIA2_PORT_A = toDd00(gfx);
|
||||
}
|
||||
|
||||
Added resource src/test/java/dk/camelot64/kickc/test/kc/logo.png
|
||||
Adding pre/post-modifier *((var) main::$10) ← ++ *((var) main::$10)
|
||||
Adding pre/post-modifier (byte*) fill::addr ← ++ (byte*) fill::addr
|
||||
Added resource src/test/java/dk/camelot64/kickc/test/kc/logo.png
|
||||
SYMBOLS
|
||||
(label) @1
|
||||
(label) @2
|
||||
@ -447,6 +445,13 @@ vicSelectGfxBank::@return: scope:[vicSelectGfxBank] from vicSelectGfxBank
|
||||
@3: scope:[] from @2
|
||||
(byte*) SCREEN ← ((byte*)) (word/signed word/dword/signed dword) 1024
|
||||
(byte*) LOGO ← ((byte*)) (word/signed word/dword/signed dword) 8192
|
||||
kickasm(location (byte*) LOGO) {{ logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
}}
|
||||
to:@4
|
||||
main: scope:[main] from
|
||||
*((byte*) BORDERCOL) ← (byte) WHITE
|
||||
@ -512,16 +517,6 @@ fill::@return: scope:[fill] from fill::@2
|
||||
return
|
||||
to:@return
|
||||
@5: scope:[] from @4
|
||||
kickasm {{ .label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
call main
|
||||
to:@end
|
||||
@end: scope:[] from @5
|
||||
@ -586,8 +581,8 @@ Eliminating unused variable (byte) LIGHT_BLUE and assignment [63] (byte) LIGHT_B
|
||||
Eliminating unused variable (byte) LIGHT_GREY and assignment [64] (byte) LIGHT_GREY ← (byte/signed byte/word/signed word/dword/signed dword) 15
|
||||
Eliminating unused variable - keeping the call (void~) main::$3
|
||||
Eliminating unused variable - keeping the call (void~) main::$6
|
||||
Eliminating unused variable (byte*~) main::$8 and assignment [99] (byte*~) main::$8 ← (byte*) SCREEN + (word/signed word/dword/signed dword) 999
|
||||
Eliminating unused variable (byte*~) main::$9 and assignment [100] (byte*~) main::$9 ← (byte*) SCREEN + (word/signed word/dword/signed dword) 999
|
||||
Eliminating unused variable (byte*~) main::$8 and assignment [100] (byte*~) main::$8 ← (byte*) SCREEN + (word/signed word/dword/signed dword) 999
|
||||
Eliminating unused variable (byte*~) main::$9 and assignment [101] (byte*~) main::$9 ← (byte*) SCREEN + (word/signed word/dword/signed dword) 999
|
||||
Removing empty block @1
|
||||
Removing empty block @2
|
||||
Removing empty block main::toD0181_@1
|
||||
@ -622,6 +617,13 @@ CONTROL FLOW GRAPH SSA WITH ASSIGNMENT CALL & RETURN
|
||||
@3: scope:[] from @begin
|
||||
(byte*) SCREEN#0 ← ((byte*)) (word/signed word/dword/signed dword) 1024
|
||||
(byte*) LOGO#0 ← ((byte*)) (word/signed word/dword/signed dword) 8192
|
||||
kickasm(location (byte*) LOGO#0) {{ logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
}}
|
||||
to:@5
|
||||
main: scope:[main] from @5
|
||||
(byte*) LOGO#1 ← phi( @5/(byte*) LOGO#2 )
|
||||
@ -723,16 +725,6 @@ fill::@return: scope:[fill] from fill::@1
|
||||
@5: scope:[] from @3
|
||||
(byte*) LOGO#2 ← phi( @3/(byte*) LOGO#0 )
|
||||
(byte*) SCREEN#5 ← phi( @3/(byte*) SCREEN#0 )
|
||||
kickasm {{ .label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
call main
|
||||
to:@6
|
||||
@6: scope:[] from @5
|
||||
@ -961,7 +953,6 @@ Removing unused block main::@return
|
||||
Succesful SSA optimization Pass2EliminateUnusedBlocks
|
||||
Resolved ranged next value main::ch#1 ← ++ main::ch#2 to ++
|
||||
Resolved ranged comparison value if(main::ch#1!=rangelast(0,239)) goto main::@1 to (byte/word/signed word/dword/signed dword) 240
|
||||
Culled Empty Block (label) @3
|
||||
Culled Empty Block (label) main::toD0181_@return
|
||||
Culled Empty Block (label) main::@11
|
||||
Culled Empty Block (label) main::@2
|
||||
@ -996,17 +987,18 @@ Constant inlined main::toD0181_$4#0 = ((word))(const byte*) LOGO#0
|
||||
Constant inlined main::toD0181_$5#0 = >((word))(const byte*) LOGO#0
|
||||
Constant inlined main::ch#0 = (byte/signed byte/word/signed word/dword/signed dword) 0
|
||||
Succesful SSA optimization Pass2ConstantInlining
|
||||
Block Sequence Planned @begin @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 fill fill::@1 fill::@return
|
||||
Block Sequence Planned @begin @3 @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 fill fill::@1 fill::@return
|
||||
Added new block during phi lifting main::@12(between main::@1 and main::@1)
|
||||
Added new block during phi lifting fill::@3(between fill::@1 and fill::@1)
|
||||
Block Sequence Planned @begin @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 main::@12 fill fill::@1 fill::@return fill::@3
|
||||
Block Sequence Planned @begin @3 @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 main::@12 fill fill::@1 fill::@return fill::@3
|
||||
Adding NOP phi() at start of @begin
|
||||
Adding NOP phi() at start of @5
|
||||
Adding NOP phi() at start of @end
|
||||
Adding NOP phi() at start of main::toD0181
|
||||
Adding NOP phi() at start of main::@10
|
||||
CALL GRAPH
|
||||
Calls in [] to main:2
|
||||
Calls in [main] to fill:11 fill:13
|
||||
Calls in [] to main:3
|
||||
Calls in [main] to fill:12 fill:14
|
||||
|
||||
Propagating live ranges...
|
||||
Propagating live ranges...
|
||||
@ -1015,14 +1007,15 @@ Propagating live ranges...
|
||||
Propagating live ranges...
|
||||
Propagating live ranges...
|
||||
Created 5 initial phi equivalence classes
|
||||
Coalesced [20] main::ch#3 ← main::ch#1
|
||||
Coalesced [23] fill::addr#3 ← fill::addr#0
|
||||
Coalesced [29] fill::addr#4 ← fill::addr#1
|
||||
Coalesced [21] main::ch#3 ← main::ch#1
|
||||
Coalesced [24] fill::addr#3 ← fill::addr#0
|
||||
Coalesced [30] fill::addr#4 ← fill::addr#1
|
||||
Coalesced down to 4 phi equivalence classes
|
||||
Culled Empty Block (label) main::@12
|
||||
Culled Empty Block (label) fill::@3
|
||||
Block Sequence Planned @begin @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 fill fill::@1 fill::@return
|
||||
Block Sequence Planned @begin @3 @5 @end main main::toD0181 main::@9 main::@10 main::@1 main::@3 fill fill::@1 fill::@return
|
||||
Adding NOP phi() at start of @begin
|
||||
Adding NOP phi() at start of @5
|
||||
Adding NOP phi() at start of @end
|
||||
Adding NOP phi() at start of main::toD0181
|
||||
Adding NOP phi() at start of main::@10
|
||||
@ -1035,79 +1028,80 @@ Propagating live ranges...
|
||||
FINAL CONTROL FLOW GRAPH
|
||||
@begin: scope:[] from
|
||||
[0] phi() [ ] ( )
|
||||
to:@5
|
||||
@5: scope:[] from @begin
|
||||
kickasm {{ .label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
to:@3
|
||||
@3: scope:[] from @begin
|
||||
kickasm(location (const byte*) LOGO#0) {{ logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
}}
|
||||
[2] call main [ ] ( )
|
||||
to:@5
|
||||
@5: scope:[] from @3
|
||||
[2] phi() [ ] ( )
|
||||
[3] call main [ ] ( )
|
||||
to:@end
|
||||
@end: scope:[] from @5
|
||||
[3] phi() [ ] ( )
|
||||
[4] phi() [ ] ( )
|
||||
main: scope:[main] from @5
|
||||
[4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] )
|
||||
[5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] )
|
||||
[6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] )
|
||||
[7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] )
|
||||
[5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] )
|
||||
[6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] )
|
||||
[7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] )
|
||||
[8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] )
|
||||
to:main::toD0181
|
||||
main::toD0181: scope:[main] from main
|
||||
[8] phi() [ ] ( main:2 [ ] )
|
||||
[9] phi() [ ] ( main:3 [ ] )
|
||||
to:main::@9
|
||||
main::@9: scope:[main] from main::toD0181
|
||||
[9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] )
|
||||
[10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] )
|
||||
[11] call fill [ ] ( main:2 [ ] )
|
||||
[10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] )
|
||||
[11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] )
|
||||
[12] call fill [ ] ( main:3 [ ] )
|
||||
to:main::@10
|
||||
main::@10: scope:[main] from main::@9
|
||||
[12] phi() [ ] ( main:2 [ ] )
|
||||
[13] call fill [ ] ( main:2 [ ] )
|
||||
[13] phi() [ ] ( main:3 [ ] )
|
||||
[14] call fill [ ] ( main:3 [ ] )
|
||||
to:main::@1
|
||||
main::@1: scope:[main] from main::@1 main::@10
|
||||
[14] (byte) main::ch#2 ← phi( main::@1/(byte) main::ch#1 main::@10/(byte/signed byte/word/signed word/dword/signed dword) 0 ) [ main::ch#2 ] ( main:2 [ main::ch#2 ] )
|
||||
[15] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:2 [ main::ch#2 ] )
|
||||
[16] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:2 [ main::ch#1 ] )
|
||||
[17] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:2 [ main::ch#1 ] )
|
||||
[15] (byte) main::ch#2 ← phi( main::@1/(byte) main::ch#1 main::@10/(byte/signed byte/word/signed word/dword/signed dword) 0 ) [ main::ch#2 ] ( main:3 [ main::ch#2 ] )
|
||||
[16] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:3 [ main::ch#2 ] )
|
||||
[17] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:3 [ main::ch#1 ] )
|
||||
[18] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:3 [ main::ch#1 ] )
|
||||
to:main::@3
|
||||
main::@3: scope:[main] from main::@1 main::@3
|
||||
[18] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:2 [ ] )
|
||||
[19] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:3 [ ] )
|
||||
kickasm {{ inc $d020 }}
|
||||
to:main::@3
|
||||
fill: scope:[fill] from main::@10 main::@9
|
||||
[20] (byte) fill::val#3 ← phi( main::@10/(const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 main::@9/(const byte) BLACK#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[20] (word) fill::size#2 ← phi( main::@10/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 main::@9/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[20] (byte*) fill::addr#0 ← phi( main::@10/(const byte*) COLS#0 main::@9/(const byte*) SCREEN#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:2::fill:11 [ fill::addr#0 fill::size#2 fill::val#3 ] main:2::fill:13 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] )
|
||||
[21] (byte) fill::val#3 ← phi( main::@10/(const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 main::@9/(const byte) BLACK#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (word) fill::size#2 ← phi( main::@10/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 main::@9/(byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[21] (byte*) fill::addr#0 ← phi( main::@10/(const byte*) COLS#0 main::@9/(const byte*) SCREEN#0 ) [ fill::addr#0 fill::size#2 fill::val#3 ] ( main:3::fill:12 [ fill::addr#0 fill::size#2 fill::val#3 ] main:3::fill:14 [ fill::addr#0 fill::size#2 fill::val#3 ] )
|
||||
[22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] )
|
||||
to:fill::@1
|
||||
fill::@1: scope:[fill] from fill fill::@1
|
||||
[22] (byte*) fill::addr#2 ← phi( fill/(byte*) fill::addr#0 fill::@1/(byte*) fill::addr#1 ) [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[24] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[23] (byte*) fill::addr#2 ← phi( fill/(byte*) fill::addr#0 fill::@1/(byte*) fill::addr#1 ) [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] )
|
||||
[25] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
[26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] )
|
||||
to:fill::@return
|
||||
fill::@return: scope:[fill] from fill::@1
|
||||
[26] return [ ] ( main:2::fill:11 [ ] main:2::fill:13 [ ] )
|
||||
[27] return [ ] ( main:3::fill:12 [ ] main:3::fill:14 [ ] )
|
||||
to:@return
|
||||
|
||||
DOMINATORS
|
||||
@begin dominated by @begin
|
||||
@5 dominated by @begin @5
|
||||
@end dominated by @begin @5 @end
|
||||
main dominated by @begin @5 main
|
||||
main::toD0181 dominated by @begin @5 main::toD0181 main
|
||||
main::@9 dominated by main::@9 @begin @5 main::toD0181 main
|
||||
main::@10 dominated by main::@9 @begin main::@10 @5 main::toD0181 main
|
||||
main::@1 dominated by main::@9 @begin main::@10 @5 main::toD0181 main::@1 main
|
||||
main::@3 dominated by main::@9 @begin main::@10 @5 main::toD0181 main::@1 main main::@3
|
||||
fill dominated by main::@9 @begin @5 main::toD0181 main fill
|
||||
fill::@1 dominated by main::@9 @begin @5 main::toD0181 main fill::@1 fill
|
||||
fill::@return dominated by main::@9 @begin @5 main::toD0181 fill::@return main fill::@1 fill
|
||||
@3 dominated by @begin @3
|
||||
@5 dominated by @begin @3 @5
|
||||
@end dominated by @begin @end @3 @5
|
||||
main dominated by @begin main @3 @5
|
||||
main::toD0181 dominated by @begin main::toD0181 main @3 @5
|
||||
main::@9 dominated by main::@9 @begin main::toD0181 main @3 @5
|
||||
main::@10 dominated by main::@9 @begin main::@10 main::toD0181 main @3 @5
|
||||
main::@1 dominated by main::@9 @begin main::@10 main::toD0181 main @3 @5 main::@1
|
||||
main::@3 dominated by main::@9 @begin main::@10 main::toD0181 main @3 @5 main::@1 main::@3
|
||||
fill dominated by main::@9 @begin main::toD0181 main fill @3 @5
|
||||
fill::@1 dominated by main::@9 @begin main::toD0181 main fill::@1 fill @3 @5
|
||||
fill::@return dominated by main::@9 @begin main::toD0181 fill::@return main fill::@1 fill @3 @5
|
||||
|
||||
NATURAL LOOPS
|
||||
Found back edge: Loop head: main::@1 tails: main::@1 blocks: null
|
||||
@ -1216,134 +1210,129 @@ INITIAL ASM
|
||||
.label LOGO = $2000
|
||||
//SEG2 @begin
|
||||
bbegin:
|
||||
jmp b3
|
||||
//SEG3 @3
|
||||
b3:
|
||||
//SEG4 kickasm(location (const byte*) LOGO#0) {{ logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) }}
|
||||
//SEG5 [2] phi from @3 to @5 [phi:@3->@5]
|
||||
b5_from_b3:
|
||||
jmp b5
|
||||
//SEG3 @5
|
||||
//SEG6 @5
|
||||
b5:
|
||||
//SEG4 kickasm {{ .label pc_restore = * .pc = $2000 logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) .pc = pc_restore }}
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
|
||||
//SEG5 [2] call main [ ] ( )
|
||||
//SEG7 [3] call main [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @5 to @end [phi:@5->@end]
|
||||
//SEG8 [4] phi from @5 to @end [phi:@5->@end]
|
||||
bend_from_b5:
|
||||
jmp bend
|
||||
//SEG7 @end
|
||||
//SEG9 @end
|
||||
bend:
|
||||
//SEG8 main
|
||||
//SEG10 main
|
||||
main: {
|
||||
.const toD0181_return = (>(SCREEN&$3fff)<<2)|(>LOGO)>>2&$f
|
||||
.label ch = 2
|
||||
//SEG9 [4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG11 [5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #WHITE
|
||||
sta BORDERCOL
|
||||
//SEG10 [5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG12 [6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #DARK_GREY
|
||||
sta BGCOL2
|
||||
//SEG11 [6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
//SEG13 [7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
lda BGCOL2
|
||||
sta BGCOL
|
||||
//SEG12 [7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG14 [8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #BLACK
|
||||
sta BGCOL3
|
||||
//SEG13 [8] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
//SEG15 [9] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
toD0181_from_main:
|
||||
jmp toD0181
|
||||
//SEG14 main::toD0181
|
||||
//SEG16 main::toD0181
|
||||
toD0181:
|
||||
jmp b9
|
||||
//SEG15 main::@9
|
||||
//SEG17 main::@9
|
||||
b9:
|
||||
//SEG16 [9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG18 [10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #toD0181_return
|
||||
sta D018
|
||||
//SEG17 [10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG19 [11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #VIC_MCM|VIC_CSEL
|
||||
sta D016
|
||||
//SEG18 [11] call fill [ ] ( main:2 [ ] )
|
||||
//SEG19 [20] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
//SEG20 [12] call fill [ ] ( main:3 [ ] )
|
||||
//SEG21 [21] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
fill_from_b9:
|
||||
//SEG20 [20] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuz1=vbuc1
|
||||
//SEG22 [21] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuz1=vbuc1
|
||||
lda #BLACK
|
||||
sta fill.val
|
||||
//SEG21 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
//SEG23 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG22 [20] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
//SEG24 [21] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
lda #<SCREEN
|
||||
sta fill.addr
|
||||
lda #>SCREEN
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG23 [12] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
//SEG25 [13] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
b10_from_b9:
|
||||
jmp b10
|
||||
//SEG24 main::@10
|
||||
//SEG26 main::@10
|
||||
b10:
|
||||
//SEG25 [13] call fill [ ] ( main:2 [ ] )
|
||||
//SEG26 [20] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
//SEG27 [14] call fill [ ] ( main:3 [ ] )
|
||||
//SEG28 [21] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
fill_from_b10:
|
||||
//SEG27 [20] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuz1=vbuc1
|
||||
//SEG29 [21] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuz1=vbuc1
|
||||
lda #WHITE|8
|
||||
sta fill.val
|
||||
//SEG28 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
//SEG30 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG29 [20] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
//SEG31 [21] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
lda #<COLS
|
||||
sta fill.addr
|
||||
lda #>COLS
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG30 [14] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
//SEG32 [15] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
b1_from_b10:
|
||||
//SEG31 [14] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuz1=vbuc1
|
||||
//SEG33 [15] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuz1=vbuc1
|
||||
lda #0
|
||||
sta ch
|
||||
jmp b1
|
||||
//SEG32 [14] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
//SEG34 [15] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
b1_from_b1:
|
||||
//SEG33 [14] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
//SEG35 [15] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
jmp b1
|
||||
//SEG34 main::@1
|
||||
//SEG36 main::@1
|
||||
b1:
|
||||
//SEG35 [15] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:2 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuz1=vbuz1
|
||||
//SEG37 [16] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:3 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuz1=vbuz1
|
||||
ldy ch
|
||||
tya
|
||||
sta SCREEN,y
|
||||
//SEG36 [16] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuz1=_inc_vbuz1
|
||||
//SEG38 [17] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuz1=_inc_vbuz1
|
||||
inc ch
|
||||
//SEG37 [17] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuz1_neq_vbuc1_then_la1
|
||||
//SEG39 [18] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuz1_neq_vbuc1_then_la1
|
||||
lda ch
|
||||
cmp #$f0
|
||||
bne b1_from_b1
|
||||
jmp b3
|
||||
//SEG38 main::@3
|
||||
//SEG40 main::@3
|
||||
b3:
|
||||
//SEG39 [18] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
//SEG41 [19] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
inc SCREEN+$3e7
|
||||
//SEG40 kickasm {{ inc $d020 }}
|
||||
//SEG42 kickasm {{ inc $d020 }}
|
||||
inc $d020
|
||||
jmp b3
|
||||
}
|
||||
//SEG41 fill
|
||||
//SEG43 fill
|
||||
fill: {
|
||||
.label end = 8
|
||||
.label addr = 6
|
||||
.label size = 3
|
||||
.label val = 5
|
||||
//SEG42 [21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz3
|
||||
//SEG44 [22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz3
|
||||
lda end
|
||||
clc
|
||||
adc addr
|
||||
@ -1351,23 +1340,23 @@ fill: {
|
||||
lda end+1
|
||||
adc addr+1
|
||||
sta size+1
|
||||
//SEG43 [22] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
//SEG45 [23] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
b1_from_fill:
|
||||
b1_from_b1:
|
||||
//SEG44 [22] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
//SEG46 [23] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
jmp b1
|
||||
//SEG45 fill::@1
|
||||
//SEG47 fill::@1
|
||||
b1:
|
||||
//SEG46 [23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuz2
|
||||
//SEG48 [24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuz2
|
||||
lda val
|
||||
ldy #0
|
||||
sta (addr),y
|
||||
//SEG47 [24] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
//SEG49 [25] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
inc addr
|
||||
bne !+
|
||||
inc addr+1
|
||||
!:
|
||||
//SEG48 [25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
//SEG50 [26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
lda addr+1
|
||||
cmp end+1
|
||||
bne b1_from_b1
|
||||
@ -1375,33 +1364,41 @@ fill: {
|
||||
cmp end
|
||||
bne b1_from_b1
|
||||
jmp breturn
|
||||
//SEG49 fill::@return
|
||||
//SEG51 fill::@return
|
||||
breturn:
|
||||
//SEG50 [26] return [ ] ( main:2::fill:11 [ ] main:2::fill:13 [ ] )
|
||||
//SEG52 [27] return [ ] ( main:3::fill:12 [ ] main:3::fill:14 [ ] )
|
||||
rts
|
||||
}
|
||||
.pc = LOGO "Inline"
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
|
||||
|
||||
REGISTER UPLIFT POTENTIAL REGISTERS
|
||||
Statement [4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] ) always clobbers reg byte a
|
||||
Statement [5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] ) always clobbers reg byte a
|
||||
Removing always clobbered register reg byte a as potential for zp ZP_BYTE:5 [ fill::val#3 ]
|
||||
Statement [23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] ) always clobbers reg byte a reg byte y
|
||||
Statement [24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] ) always clobbers reg byte a reg byte y
|
||||
Removing always clobbered register reg byte y as potential for zp ZP_BYTE:5 [ fill::val#3 ]
|
||||
Statement [25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) always clobbers reg byte a
|
||||
Statement [4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] ) always clobbers reg byte a
|
||||
Statement [21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] ) always clobbers reg byte a
|
||||
Statement [23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] ) always clobbers reg byte a reg byte y
|
||||
Statement [25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) always clobbers reg byte a
|
||||
Statement [26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) always clobbers reg byte a
|
||||
Statement [5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] ) always clobbers reg byte a
|
||||
Statement [22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] ) always clobbers reg byte a
|
||||
Statement [24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] ) always clobbers reg byte a reg byte y
|
||||
Statement [26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) always clobbers reg byte a
|
||||
Potential registers zp ZP_BYTE:2 [ main::ch#2 main::ch#1 ] : zp ZP_BYTE:2 , reg byte a , reg byte x , reg byte y ,
|
||||
Potential registers zp ZP_WORD:3 [ fill::size#2 ] : zp ZP_WORD:3 ,
|
||||
Potential registers zp ZP_BYTE:5 [ fill::val#3 ] : zp ZP_BYTE:5 , reg byte x ,
|
||||
@ -1413,9 +1410,9 @@ Uplift Scope [fill] 36: zp ZP_WORD:6 [ fill::addr#2 fill::addr#0 fill::addr#1 ]
|
||||
Uplift Scope [main] 38.5: zp ZP_BYTE:2 [ main::ch#2 main::ch#1 ]
|
||||
Uplift Scope []
|
||||
|
||||
Uplifting [fill] best 3921 combination zp ZP_WORD:6 [ fill::addr#2 fill::addr#0 fill::addr#1 ] zp ZP_WORD:8 [ fill::end#0 ] zp ZP_WORD:3 [ fill::size#2 ] reg byte x [ fill::val#3 ]
|
||||
Uplifting [main] best 3801 combination reg byte x [ main::ch#2 main::ch#1 ]
|
||||
Uplifting [] best 3801 combination
|
||||
Uplifting [fill] best 3924 combination zp ZP_WORD:6 [ fill::addr#2 fill::addr#0 fill::addr#1 ] zp ZP_WORD:8 [ fill::end#0 ] zp ZP_WORD:3 [ fill::size#2 ] reg byte x [ fill::val#3 ]
|
||||
Uplifting [main] best 3804 combination reg byte x [ main::ch#2 main::ch#1 ]
|
||||
Uplifting [] best 3804 combination
|
||||
Coalescing zero page register with common assignment [ zp ZP_WORD:3 [ fill::size#2 ] ] with [ zp ZP_WORD:8 [ fill::end#0 ] ] - score: 1
|
||||
Allocated (was zp ZP_WORD:3) zp ZP_WORD:2 [ fill::size#2 fill::end#0 ]
|
||||
Allocated (was zp ZP_WORD:6) zp ZP_WORD:4 [ fill::addr#2 fill::addr#0 fill::addr#1 ]
|
||||
@ -1442,127 +1439,122 @@ ASSEMBLER BEFORE OPTIMIZATION
|
||||
.label LOGO = $2000
|
||||
//SEG2 @begin
|
||||
bbegin:
|
||||
jmp b3
|
||||
//SEG3 @3
|
||||
b3:
|
||||
//SEG4 kickasm(location (const byte*) LOGO#0) {{ logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) }}
|
||||
//SEG5 [2] phi from @3 to @5 [phi:@3->@5]
|
||||
b5_from_b3:
|
||||
jmp b5
|
||||
//SEG3 @5
|
||||
//SEG6 @5
|
||||
b5:
|
||||
//SEG4 kickasm {{ .label pc_restore = * .pc = $2000 logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) .pc = pc_restore }}
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
|
||||
//SEG5 [2] call main [ ] ( )
|
||||
//SEG7 [3] call main [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @5 to @end [phi:@5->@end]
|
||||
//SEG8 [4] phi from @5 to @end [phi:@5->@end]
|
||||
bend_from_b5:
|
||||
jmp bend
|
||||
//SEG7 @end
|
||||
//SEG9 @end
|
||||
bend:
|
||||
//SEG8 main
|
||||
//SEG10 main
|
||||
main: {
|
||||
.const toD0181_return = (>(SCREEN&$3fff)<<2)|(>LOGO)>>2&$f
|
||||
//SEG9 [4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG11 [5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #WHITE
|
||||
sta BORDERCOL
|
||||
//SEG10 [5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG12 [6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #DARK_GREY
|
||||
sta BGCOL2
|
||||
//SEG11 [6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
//SEG13 [7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
lda BGCOL2
|
||||
sta BGCOL
|
||||
//SEG12 [7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG14 [8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #BLACK
|
||||
sta BGCOL3
|
||||
//SEG13 [8] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
//SEG15 [9] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
toD0181_from_main:
|
||||
jmp toD0181
|
||||
//SEG14 main::toD0181
|
||||
//SEG16 main::toD0181
|
||||
toD0181:
|
||||
jmp b9
|
||||
//SEG15 main::@9
|
||||
//SEG17 main::@9
|
||||
b9:
|
||||
//SEG16 [9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG18 [10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #toD0181_return
|
||||
sta D018
|
||||
//SEG17 [10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG19 [11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #VIC_MCM|VIC_CSEL
|
||||
sta D016
|
||||
//SEG18 [11] call fill [ ] ( main:2 [ ] )
|
||||
//SEG19 [20] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
//SEG20 [12] call fill [ ] ( main:3 [ ] )
|
||||
//SEG21 [21] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
fill_from_b9:
|
||||
//SEG20 [20] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuxx=vbuc1
|
||||
//SEG22 [21] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuxx=vbuc1
|
||||
ldx #BLACK
|
||||
//SEG21 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
//SEG23 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG22 [20] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
//SEG24 [21] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
lda #<SCREEN
|
||||
sta fill.addr
|
||||
lda #>SCREEN
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG23 [12] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
//SEG25 [13] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
b10_from_b9:
|
||||
jmp b10
|
||||
//SEG24 main::@10
|
||||
//SEG26 main::@10
|
||||
b10:
|
||||
//SEG25 [13] call fill [ ] ( main:2 [ ] )
|
||||
//SEG26 [20] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
//SEG27 [14] call fill [ ] ( main:3 [ ] )
|
||||
//SEG28 [21] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
fill_from_b10:
|
||||
//SEG27 [20] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuxx=vbuc1
|
||||
//SEG29 [21] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuxx=vbuc1
|
||||
ldx #WHITE|8
|
||||
//SEG28 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
//SEG30 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG29 [20] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
//SEG31 [21] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
lda #<COLS
|
||||
sta fill.addr
|
||||
lda #>COLS
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG30 [14] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
//SEG32 [15] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
b1_from_b10:
|
||||
//SEG31 [14] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuxx=vbuc1
|
||||
//SEG33 [15] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuxx=vbuc1
|
||||
ldx #0
|
||||
jmp b1
|
||||
//SEG32 [14] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
//SEG34 [15] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
b1_from_b1:
|
||||
//SEG33 [14] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
//SEG35 [15] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
jmp b1
|
||||
//SEG34 main::@1
|
||||
//SEG36 main::@1
|
||||
b1:
|
||||
//SEG35 [15] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:2 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuxx=vbuxx
|
||||
//SEG37 [16] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:3 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuxx=vbuxx
|
||||
txa
|
||||
sta SCREEN,x
|
||||
//SEG36 [16] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuxx=_inc_vbuxx
|
||||
//SEG38 [17] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuxx=_inc_vbuxx
|
||||
inx
|
||||
//SEG37 [17] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuxx_neq_vbuc1_then_la1
|
||||
//SEG39 [18] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuxx_neq_vbuc1_then_la1
|
||||
cpx #$f0
|
||||
bne b1_from_b1
|
||||
jmp b3
|
||||
//SEG38 main::@3
|
||||
//SEG40 main::@3
|
||||
b3:
|
||||
//SEG39 [18] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
//SEG41 [19] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
inc SCREEN+$3e7
|
||||
//SEG40 kickasm {{ inc $d020 }}
|
||||
//SEG42 kickasm {{ inc $d020 }}
|
||||
inc $d020
|
||||
jmp b3
|
||||
}
|
||||
//SEG41 fill
|
||||
//SEG43 fill
|
||||
fill: {
|
||||
.label end = 2
|
||||
.label addr = 4
|
||||
.label size = 2
|
||||
//SEG42 [21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz1
|
||||
//SEG44 [22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz1
|
||||
lda end
|
||||
clc
|
||||
adc addr
|
||||
@ -1570,23 +1562,23 @@ fill: {
|
||||
lda end+1
|
||||
adc addr+1
|
||||
sta end+1
|
||||
//SEG43 [22] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
//SEG45 [23] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
b1_from_fill:
|
||||
b1_from_b1:
|
||||
//SEG44 [22] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
//SEG46 [23] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
jmp b1
|
||||
//SEG45 fill::@1
|
||||
//SEG47 fill::@1
|
||||
b1:
|
||||
//SEG46 [23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuxx
|
||||
//SEG48 [24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuxx
|
||||
txa
|
||||
ldy #0
|
||||
sta (addr),y
|
||||
//SEG47 [24] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
//SEG49 [25] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
inc addr
|
||||
bne !+
|
||||
inc addr+1
|
||||
!:
|
||||
//SEG48 [25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
//SEG50 [26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
lda addr+1
|
||||
cmp end+1
|
||||
bne b1_from_b1
|
||||
@ -1594,13 +1586,22 @@ fill: {
|
||||
cmp end
|
||||
bne b1_from_b1
|
||||
jmp breturn
|
||||
//SEG49 fill::@return
|
||||
//SEG51 fill::@return
|
||||
breturn:
|
||||
//SEG50 [26] return [ ] ( main:2::fill:11 [ ] main:2::fill:13 [ ] )
|
||||
//SEG52 [27] return [ ] ( main:3::fill:12 [ ] main:3::fill:14 [ ] )
|
||||
rts
|
||||
}
|
||||
.pc = LOGO "Inline"
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
|
||||
|
||||
ASSEMBLER OPTIMIZATIONS
|
||||
Removing instruction jmp b3
|
||||
Removing instruction jmp b5
|
||||
Removing instruction jmp bend
|
||||
Removing instruction jmp toD0181
|
||||
@ -1617,6 +1618,8 @@ Replacing label b1_from_b1 with b1
|
||||
Replacing label b1_from_b1 with b1
|
||||
Replacing label b1_from_b1 with b1
|
||||
Removing instruction bbegin:
|
||||
Removing instruction b3:
|
||||
Removing instruction b5_from_b3:
|
||||
Removing instruction bend_from_b5:
|
||||
Removing instruction toD0181_from_main:
|
||||
Removing instruction toD0181:
|
||||
@ -1638,6 +1641,7 @@ Removing instruction jmp b1
|
||||
Succesful ASM optimization Pass5NextJumpElimination
|
||||
|
||||
FINAL SYMBOL TABLE
|
||||
(label) @3
|
||||
(label) @5
|
||||
(label) @begin
|
||||
(label) @end
|
||||
@ -1735,106 +1739,98 @@ Score: 3578
|
||||
.label SCREEN = $400
|
||||
.label LOGO = $2000
|
||||
//SEG2 @begin
|
||||
//SEG3 @5
|
||||
//SEG4 kickasm {{ .label pc_restore = * .pc = $2000 logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) .pc = pc_restore }}
|
||||
.label pc_restore = *
|
||||
.pc = $2000
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
.pc = pc_restore
|
||||
|
||||
//SEG5 [2] call main [ ] ( )
|
||||
//SEG3 @3
|
||||
//SEG4 kickasm(location (const byte*) LOGO#0) {{ logo: .var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff)) .for (var y=0; y<6 ; y++) .for (var x=0;x<40; x++) .for(var cp=0; cp<8; cp++) .byte logoPic.getMulticolorByte(x,cp+y*8) }}
|
||||
//SEG5 [2] phi from @3 to @5 [phi:@3->@5]
|
||||
//SEG6 @5
|
||||
//SEG7 [3] call main [ ] ( )
|
||||
jsr main
|
||||
//SEG6 [3] phi from @5 to @end [phi:@5->@end]
|
||||
//SEG7 @end
|
||||
//SEG8 main
|
||||
//SEG8 [4] phi from @5 to @end [phi:@5->@end]
|
||||
//SEG9 @end
|
||||
//SEG10 main
|
||||
main: {
|
||||
.const toD0181_return = (>(SCREEN&$3fff)<<2)|(>LOGO)>>2&$f
|
||||
//SEG9 [4] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG11 [5] *((const byte*) BORDERCOL#0) ← (const byte) WHITE#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #WHITE
|
||||
sta BORDERCOL
|
||||
//SEG10 [5] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG12 [6] *((const byte*) BGCOL2#0) ← (const byte) DARK_GREY#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #DARK_GREY
|
||||
sta BGCOL2
|
||||
//SEG11 [6] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
//SEG13 [7] *((const byte*) BGCOL#0) ← *((const byte*) BGCOL2#0) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_deref_pbuc2
|
||||
sta BGCOL
|
||||
//SEG12 [7] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG14 [8] *((const byte*) BGCOL3#0) ← (const byte) BLACK#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #BLACK
|
||||
sta BGCOL3
|
||||
//SEG13 [8] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
//SEG14 main::toD0181
|
||||
//SEG15 main::@9
|
||||
//SEG16 [9] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG15 [9] phi from main to main::toD0181 [phi:main->main::toD0181]
|
||||
//SEG16 main::toD0181
|
||||
//SEG17 main::@9
|
||||
//SEG18 [10] *((const byte*) D018#0) ← (const byte) main::toD0181_return#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #toD0181_return
|
||||
sta D018
|
||||
//SEG17 [10] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:2 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
//SEG19 [11] *((const byte*) D016#0) ← (const byte) VIC_MCM#0|(const byte) VIC_CSEL#0 [ ] ( main:3 [ ] ) -- _deref_pbuc1=vbuc2
|
||||
lda #VIC_MCM|VIC_CSEL
|
||||
sta D016
|
||||
//SEG18 [11] call fill [ ] ( main:2 [ ] )
|
||||
//SEG19 [20] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
//SEG20 [20] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuxx=vbuc1
|
||||
//SEG20 [12] call fill [ ] ( main:3 [ ] )
|
||||
//SEG21 [21] phi from main::@9 to fill [phi:main::@9->fill]
|
||||
//SEG22 [21] phi (byte) fill::val#3 = (const byte) BLACK#0 [phi:main::@9->fill#0] -- vbuxx=vbuc1
|
||||
ldx #BLACK
|
||||
//SEG21 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
//SEG23 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@9->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG22 [20] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
//SEG24 [21] phi (byte*) fill::addr#0 = (const byte*) SCREEN#0 [phi:main::@9->fill#2] -- pbuz1=pbuc1
|
||||
lda #<SCREEN
|
||||
sta fill.addr
|
||||
lda #>SCREEN
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG23 [12] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
//SEG24 main::@10
|
||||
//SEG25 [13] call fill [ ] ( main:2 [ ] )
|
||||
//SEG26 [20] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
//SEG27 [20] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuxx=vbuc1
|
||||
//SEG25 [13] phi from main::@9 to main::@10 [phi:main::@9->main::@10]
|
||||
//SEG26 main::@10
|
||||
//SEG27 [14] call fill [ ] ( main:3 [ ] )
|
||||
//SEG28 [21] phi from main::@10 to fill [phi:main::@10->fill]
|
||||
//SEG29 [21] phi (byte) fill::val#3 = (const byte) WHITE#0|(byte/signed byte/word/signed word/dword/signed dword) 8 [phi:main::@10->fill#0] -- vbuxx=vbuc1
|
||||
ldx #WHITE|8
|
||||
//SEG28 [20] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
//SEG30 [21] phi (word) fill::size#2 = (byte/signed byte/word/signed word/dword/signed dword) 40*(byte/signed byte/word/signed word/dword/signed dword) 25 [phi:main::@10->fill#1] -- vwuz1=vwuc1
|
||||
lda #<$28*$19
|
||||
sta fill.size
|
||||
lda #>$28*$19
|
||||
sta fill.size+1
|
||||
//SEG29 [20] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
//SEG31 [21] phi (byte*) fill::addr#0 = (const byte*) COLS#0 [phi:main::@10->fill#2] -- pbuz1=pbuc1
|
||||
lda #<COLS
|
||||
sta fill.addr
|
||||
lda #>COLS
|
||||
sta fill.addr+1
|
||||
jsr fill
|
||||
//SEG30 [14] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
//SEG31 [14] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuxx=vbuc1
|
||||
//SEG32 [15] phi from main::@10 to main::@1 [phi:main::@10->main::@1]
|
||||
//SEG33 [15] phi (byte) main::ch#2 = (byte/signed byte/word/signed word/dword/signed dword) 0 [phi:main::@10->main::@1#0] -- vbuxx=vbuc1
|
||||
ldx #0
|
||||
//SEG32 [14] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
//SEG33 [14] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
//SEG34 main::@1
|
||||
//SEG34 [15] phi from main::@1 to main::@1 [phi:main::@1->main::@1]
|
||||
//SEG35 [15] phi (byte) main::ch#2 = (byte) main::ch#1 [phi:main::@1->main::@1#0] -- register_copy
|
||||
//SEG36 main::@1
|
||||
b1:
|
||||
//SEG35 [15] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:2 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuxx=vbuxx
|
||||
//SEG37 [16] *((const byte*) SCREEN#0 + (byte) main::ch#2) ← (byte) main::ch#2 [ main::ch#2 ] ( main:3 [ main::ch#2 ] ) -- pbuc1_derefidx_vbuxx=vbuxx
|
||||
txa
|
||||
sta SCREEN,x
|
||||
//SEG36 [16] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuxx=_inc_vbuxx
|
||||
//SEG38 [17] (byte) main::ch#1 ← ++ (byte) main::ch#2 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuxx=_inc_vbuxx
|
||||
inx
|
||||
//SEG37 [17] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:2 [ main::ch#1 ] ) -- vbuxx_neq_vbuc1_then_la1
|
||||
//SEG39 [18] if((byte) main::ch#1!=(byte/word/signed word/dword/signed dword) 240) goto main::@1 [ main::ch#1 ] ( main:3 [ main::ch#1 ] ) -- vbuxx_neq_vbuc1_then_la1
|
||||
cpx #$f0
|
||||
bne b1
|
||||
//SEG38 main::@3
|
||||
//SEG40 main::@3
|
||||
b3:
|
||||
//SEG39 [18] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:2 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
//SEG41 [19] *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) ← ++ *((const byte*) SCREEN#0+(word/signed word/dword/signed dword) 999) [ ] ( main:3 [ ] ) -- _deref_pbuc1=_inc__deref_pbuc1
|
||||
inc SCREEN+$3e7
|
||||
//SEG40 kickasm {{ inc $d020 }}
|
||||
//SEG42 kickasm {{ inc $d020 }}
|
||||
inc $d020
|
||||
jmp b3
|
||||
}
|
||||
//SEG41 fill
|
||||
//SEG43 fill
|
||||
fill: {
|
||||
.label end = 2
|
||||
.label addr = 4
|
||||
.label size = 2
|
||||
//SEG42 [21] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:2::fill:11 [ fill::addr#0 fill::val#3 fill::end#0 ] main:2::fill:13 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz1
|
||||
//SEG44 [22] (byte*) fill::end#0 ← (byte*) fill::addr#0 + (word) fill::size#2 [ fill::addr#0 fill::val#3 fill::end#0 ] ( main:3::fill:12 [ fill::addr#0 fill::val#3 fill::end#0 ] main:3::fill:14 [ fill::addr#0 fill::val#3 fill::end#0 ] ) -- pbuz1=pbuz2_plus_vwuz1
|
||||
lda end
|
||||
clc
|
||||
adc addr
|
||||
@ -1842,28 +1838,36 @@ fill: {
|
||||
lda end+1
|
||||
adc addr+1
|
||||
sta end+1
|
||||
//SEG43 [22] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
//SEG44 [22] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
//SEG45 fill::@1
|
||||
//SEG45 [23] phi from fill fill::@1 to fill::@1 [phi:fill/fill::@1->fill::@1]
|
||||
//SEG46 [23] phi (byte*) fill::addr#2 = (byte*) fill::addr#0 [phi:fill/fill::@1->fill::@1#0] -- register_copy
|
||||
//SEG47 fill::@1
|
||||
b1:
|
||||
//SEG46 [23] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#2 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuxx
|
||||
//SEG48 [24] *((byte*) fill::addr#2) ← (byte) fill::val#3 [ fill::val#3 fill::end#0 fill::addr#2 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#2 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#2 ] ) -- _deref_pbuz1=vbuxx
|
||||
txa
|
||||
ldy #0
|
||||
sta (addr),y
|
||||
//SEG47 [24] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
//SEG49 [25] (byte*) fill::addr#1 ← ++ (byte*) fill::addr#2 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1=_inc_pbuz1
|
||||
inc addr
|
||||
bne !+
|
||||
inc addr+1
|
||||
!:
|
||||
//SEG48 [25] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:2::fill:11 [ fill::val#3 fill::end#0 fill::addr#1 ] main:2::fill:13 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
//SEG50 [26] if((byte*) fill::addr#1!=(byte*) fill::end#0) goto fill::@1 [ fill::val#3 fill::end#0 fill::addr#1 ] ( main:3::fill:12 [ fill::val#3 fill::end#0 fill::addr#1 ] main:3::fill:14 [ fill::val#3 fill::end#0 fill::addr#1 ] ) -- pbuz1_neq_pbuz2_then_la1
|
||||
lda addr+1
|
||||
cmp end+1
|
||||
bne b1
|
||||
lda addr
|
||||
cmp end
|
||||
bne b1
|
||||
//SEG49 fill::@return
|
||||
//SEG50 [26] return [ ] ( main:2::fill:11 [ ] main:2::fill:13 [ ] )
|
||||
//SEG51 fill::@return
|
||||
//SEG52 [27] return [ ] ( main:3::fill:12 [ ] main:3::fill:14 [ ] )
|
||||
rts
|
||||
}
|
||||
.pc = LOGO "Inline"
|
||||
logo:
|
||||
.var logoPic = LoadPicture("logo.png", List().add($444444, $808080, $000000, $ffffff))
|
||||
.for (var y=0; y<6 ; y++)
|
||||
.for (var x=0;x<40; x++)
|
||||
.for(var cp=0; cp<8; cp++)
|
||||
.byte logoPic.getMulticolorByte(x,cp+y*8)
|
||||
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
(label) @3
|
||||
(label) @5
|
||||
(label) @begin
|
||||
(label) @end
|
||||
|
Loading…
x
Reference in New Issue
Block a user