25 lines
804 B
NASM
25 lines
804 B
NASM
; ***************************************************************************
|
|
; copyright : (C) 2023 by Martin Preuss
|
|
; email : martin@libchipcard.de
|
|
;
|
|
; ***************************************************************************
|
|
; * This file is part of the project "AqHome". *
|
|
; * Please see toplevel file COPYING of that project for license details. *
|
|
; ***************************************************************************
|
|
|
|
|
|
|
|
|
|
; ---------------------------------------------------------------------------
|
|
; @routine Utils_WaitFor50MicroSecs @global
|
|
;
|
|
; wait for 50 microsecs (minus cycles for call and ret).
|
|
;
|
|
; @clobbers r22
|
|
|
|
Utils_WaitFor50MicroSecs:
|
|
Utils_WaitNanoSecs 50000, 7, r22 ; wait for 50us (minus RCALL and RET)
|
|
ret
|
|
; @end
|
|
|