vm-compile.asm

来自「纯java操作系统jnode,安装简单和操作简单的个人使用的Java操作系统」· 汇编 代码 · 共 35 行

ASM
35
字号
; -----------------------------------------------
; $Id: vm-compile.asm,v 1.1 2004/02/15 11:06:16 epr Exp $
;
; Code to compile methods.
;
; Author       : E. Prangsma
; -----------------------------------------------

	extern VmMethod_recompile

; Call the compile method of the VmMethod in EAX, then call the compiled method
; itself.
; 
vm_invoke_method_after_recompile:
	
	%if 0
		push eax
	    mov eax,vm_invoke_method_after_recompile_msg1
	    call sys_print_str
	    pop eax
	%endif
	
	push eax	; Save VmMethod
	push edi
	
	push eax	; VmMethod::this
	mov eax, VmMethod_recompile
	INVOKE_JAVA_METHOD
	
	pop edi
	pop	eax		; Restore VmMethod
	jmp [eax+VmMethod_NATIVECODE_OFFSET*4]
	
	
vm_invoke_method_after_recompile_msg1: db 'IMAR:',0

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?