Changeset 245 in xtideuniversalbios for trunk/Assembly_Library/Src


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.
Location:
trunk/Assembly_Library/Src
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Assembly_Library/Src/AssemblyLibrary.asm

    r186 r245  
    8181    %include "Math.asm"
    8282    %include "Registers.asm"
     83    %include "Reboot.asm"
    8384    %include "Memory.asm"
    8485    %include "Size.asm"
  • 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.