From d113827753253a5f6fe6823f6a0b017cf22e089e Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Wed, 24 Jul 2024 19:50:30 +0200 Subject: [PATCH] todo --- docs/source/todo.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/todo.rst b/docs/source/todo.rst index 51ac6e45e..45a687f17 100644 --- a/docs/source/todo.rst +++ b/docs/source/todo.rst @@ -45,6 +45,7 @@ Compiler: - ir: the @split arrays are currently also split in _lsb/_msb arrays in the IR, and operations take multiple (byte) instructions that may lead to verbose and slow operation and machine code generation down the line. maybe another representation is needed once actual codegeneration is done from the IR...? - ir: getting it in shape for code generation... +- ir: make sure that a 6502 codegen based off the IR, still generates BIT instructions when testing bit 7 or 6 of a byte var. - [problematic due to using 64tass:] better support for building library programs, where unused .proc are NOT deleted from the assembly. Perhaps replace all uses of .proc/.pend/.endproc by .block/.bend will fix that with a compiler flag? But all library code written in asm uses .proc already..... (textual search/replace when writing the actual asm?)