2 ; Ullrich von Bassewitz, 05.08.1998
4 ; CC65 runtime: add ints
7 ; Make this as fast as possible, even if it needs more space since it's
10 .export tosadda0, tosaddax
30 L1: txa ; Test high byte
33 lda tmp1 ; Get low byte
38 L2: lda tmp1 ; Get low byte
39 ldy #$FF ; Force negative
42 ; Value is positive != 0
44 L3: lda tmp1 ; Get low byte