mirror of
https://github.com/KarolS/millfork.git
synced 2024-12-29 02:31:45 +00:00
Add putsigned16
This commit is contained in:
parent
742fc50ccc
commit
ffb9de6889
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user