Changeset 78 in xtideuniversalbios for trunk/Configurator/Src/Libraries/print.asm
- Timestamp:
- Jan 5, 2011, 7:36:41 PM (14 years ago)
- google:author:
- aitotat
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Configurator/Src/Libraries/print.asm
r2 r78 2 2 ; Project name : Print library 3 3 ; Created date : 6.10.2009 4 ; Last update : 31.12.2009 5 ; Author : Tomi Tilli 6 ; Description : ASM library to for character and string 4 ; Last update : 4.1.2011 5 ; Author : Tomi Tilli, 6 ; : Krister Nordvall (optimizations) 7 ; Description : ASM library for character and string 7 8 ; printing related functions. 8 9 … … 109 110 mov dl, %1 110 111 PRINT_CHAR 111 mov dl, CR112 PRINT_CHAR113 mov dl, LF114 PRINT_CHAR112 ;mov dl, CR 113 ;PRINT_CHAR 114 ;mov dl, LF 115 ;PRINT_CHAR 115 116 pop ax 116 117 pop dx … … 467 468 ALIGN JUMP_ALIGN 468 469 Print_IntSW: 470 test ax, ax ; Positive integer? 471 jns Print_IntUW ; If so, jump to print it 469 472 push di ; Store DI 470 cmp ax, 0 ; Positive integer?471 jge Print_IntUW ; If so, jump to print it472 473 push ax ; Store word 473 474 mov dl, '-' ; Print '-'
Note:
See TracChangeset
for help on using the changeset viewer.