Changeset 245 in xtideuniversalbios for trunk/Assembly_Library/Src/Time


Ignore:
Timestamp:
Feb 13, 2012, 12:17:51 PM (13 years ago)
Author:
aitotat@…
google:author:
aitotat@gmail.com
Message:

Changes to Assembly Library:

  • Added functions to reboot computer.
  • Added JMP_DELAY macro.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/Time/Delay.asm

    r139 r245  
    44; Section containing code
    55SECTION .text
     6
     7;--------------------------------------------------------------------
     8; Clears prefetch queue by jumping to next instruction.
     9; This delays much more than nop instruction of fast systems.
     10;
     11; JMP_DELAY
     12;   Parameters
     13;       Nothing
     14;   Returns:
     15;       Nothing
     16;   Corrupts registers:
     17;       Nothing
     18;--------------------------------------------------------------------
     19%macro JMP_DELAY 0
     20    jmp     SHORT %%NextInstruction
     21%%NextInstruction:
     22%endmacro
     23
    624
    725;--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.