1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-12-28 11:31:58 +00:00

Add putsigned16

This commit is contained in:
Karol Stasiak 2020-03-31 17:58:59 +02:00
parent 742fc50ccc
commit ffb9de6889

View File

@ -60,6 +60,14 @@ void putword(word w) {
}
}
void putsigned16(signed16 x) {
if x < 0 {
putchar('-')
x = 0000-x
}
putword(x)
}
#if CBM_PET
inline asm void ensure_mixedcase() {
? lda #14