############################################################################### # # # Calypsi ISO C compiler for 65816 version 5.16 # # 25/May/2026 19:33:49 # # Command line: --speed -O 2 --64bit-doubles mul16to32.c -o # # /tmp/mul16to32.calypsi.elf --list-file # # mul16to32.calypsi.lst # # # ############################################################################### \ 000000 .rtmodel version,"1" \ 000000 .rtmodel codeModel,"large" \ 000000 .rtmodel dataModel,"small" \ 000000 .rtmodel core,"65816" \ 000000 .rtmodel huge,"0" \ 000000 .rtmodel target,"none-specified" \ 000000 .extern _Dp \ 000000 .extern _Mul16 \ 000000 .extern _Vfp 0001 // Explicit zext pattern - should trigger the combine. 0002 unsigned long mul16to32(unsigned short a, unsigned short b) { \ 000000 .section farcode,text \ 000000 .public mul16to32 \ 000000 aa mul16to32: tax 0003 return (unsigned long)a * (unsigned long)b; \ 000001 a5.. lda dp:.tiny _Dp \ 000003 22...... jsl long:_Mul16 0004 } \ 000007 6b rtl ########################## # # # Memory sizes (decimal) # # # ########################## Executable (Text): 8 bytes