1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-08 17:54:40 +00:00

Added inline ASM TODO's

This commit is contained in:
jespergravgaard 2017-11-05 11:17:08 +01:00
parent f46aba8c9b
commit 8ba5a2733f

View File

@ -62,6 +62,8 @@ Arrays / Strings / Inline data
- Inline ASM - Inline ASM
- Allow inline ASM parameter expansion - eg lda line (where line is a variable) - Allow inline ASM parameter expansion - eg lda line (where line is a variable)
- Allow lda <var> or sta <var> to just perform a register copy if possible. - Allow lda <var> or sta <var> to just perform a register copy if possible.
- Add syntax for ensuring specific values are in A/X/Y when entering ASM - eg. asm( A: i, X: bits+1 ) { sta {SCREEN},x };
- Add syntax for specifying that ASM does not clobber specific registers (if the values are used but preserved through pha/pla) - eg. asm( A: noclob, X: i ) { pha lda #0 sta {SCREEN},x pla};
Assembler Improvements Assembler Improvements
- Relabel blocks eliminating long labels such as b3_from_b11 - Relabel blocks eliminating long labels such as b3_from_b11