asm/include/asm/tools.inc
changeset 166 ecd6492274ad
parent 9 c3fecc82ade6
equal deleted inserted replaced
165:f551b78c3eee 166:ecd6492274ad
    13 	push DWORD ebx
    13 	push DWORD ebx
    14 	push DWORD eax
    14 	push DWORD eax
    15 	push reg_format
    15 	push reg_format
    16 	
    16 	
    17 	call printf				;; printf modifies eax
    17 	call printf				;; printf modifies eax
    18 	mov eax, [esp+4]		;; restore eax
    18 	mov eax, [esp+4]			;; restore eax
    19 	leave
    19 	leave
    20 	ret
    20 	ret
    21 
    21 
    22 stack_info:
    22 stack_info:
    23 	enter 0, 0				;; Do i need to reserve space or not?
    23 	enter 0, 0				;; Do i need to reserve space or not?