Changeset 590 in xtideuniversalbios for trunk/Assembly_Library/Src/Display/DisplayFormat.asm
- Timestamp:
- May 25, 2016, 8:16:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Assembly_Library/Src/Display/DisplayFormat.asm
r589 r590 334 334 d_FormatSignedDecimalWord: 335 335 mov ax, [bp] 336 mov b x, 10337 jmp DisplayPrint_SignedWordFromAXWithBaseInB X336 mov bl, 10 337 jmp DisplayPrint_SignedWordFromAXWithBaseInBL 338 338 %endif 339 339 … … 341 341 u_FormatUnsignedDecimalWord: 342 342 mov ax, [bp] 343 mov b x, 10344 jmp DisplayPrint_WordFromAXWithBaseInB X343 mov bl, 10 344 jmp DisplayPrint_WordFromAXWithBaseInBL 345 345 346 346 ALIGN DISPLAY_JUMP_ALIGN 347 347 x_FormatHexadecimalWord: 348 348 mov ax, [bp] 349 mov b x, 16350 call DisplayPrint_WordFromAXWithBaseInB X349 mov bl, 16 350 call DisplayPrint_WordFromAXWithBaseInBL 351 351 mov al, 'h' 352 352 jmp DisplayPrint_CharacterFromAL … … 354 354 ALIGN DISPLAY_JUMP_ALIGN 355 355 I_FormatDashForZero: 356 mov ax, [bp] 357 test ax,ax 358 jnz u_FormatUnsignedDecimalWord 359 mov [bp], word g_szDashForZero 356 cmp WORD [bp], 0 357 jne SHORT u_FormatUnsignedDecimalWord 358 mov WORD [bp], g_szDashForZero 360 359 ;;; fall-through 361 360 … … 366 365 mov si, [bp] 367 366 368 cmp si, byte 07fh ;well within the boundaries of ROMVARS_size367 cmp si, BYTE 7Fh ; well within the boundaries of ROMVARS_size 369 368 jb .notFormatted 370 369
Note:
See TracChangeset
for help on using the changeset viewer.