Changeset 88
- Timestamp:
- Apr 8, 2017, 12:26:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bootcode/regular/debug.asm
r86 r88 496 496 pushf 497 497 pusha 498 ; Put call to test-function here... 498 call DEBUG_Test_CONV_BinToPBCD 499 ;~ call DEBUG_Test_MATH_Mul32 499 500 popa 500 501 popf … … 505 506 ret 506 507 DEBUG_Test EndP 508 ENDIF 509 510 511 512 ; 513 ; Test the packed BCD conversion function. 514 ; 515 IF 1 516 DEBUG_Test_CONV_BinToPBCD Proc 517 pushf 518 pusha 519 xor cx, cx 520 next_value: 521 mov al, cl 522 call AuxIO_TeletypeHexByte 523 mov al, ' ' 524 call AuxIO_Teletype 525 mov al, cl 526 call CONV_BinToPBCD 527 call AuxIO_TeletypeHexWord 528 call AuxIO_TeletypeNL 529 530 inc cx 531 cmp cx, 0ffh 532 jbe next_value 533 popa 534 popf 535 ret 536 DEBUG_Test_CONV_BinToPBCD EndP 537 ELSE 538 DEBUG_Test_CONV_BinToPBCD Proc 539 ret 540 DEBUG_Test_CONV_BinToPBCD EndP 507 541 ENDIF 508 542
Note:
See TracChangeset
for help on using the changeset viewer.