asm_header.h

来自「This source code is used for make infix 」· C头文件 代码 · 共 33 行

H
33
字号
;define parameters%define first_param [ebp+8]%define secand_param [ebp+12]%define third_param [ebp+16];define one node%define data [eax]%define left_child [ eax + 4 ]%define right_child [eax + 8 ] NULL equ 0;this macro is use in create_tree.asm ;for adding string and child which is given by parameter;ESI have string , EDX for temporary of child , %1 right of left child%macro push_string_and_child 1	push  esi	mov edx , %1	push edx%endmacro;compare the parameter is null if it is null jump finish;use in inorder.asm%macro compare_null_jmp_je_finish 1	cmp %1 , NULL	je finish%endmacro;this macro is move the value in secand parameter and push it to stack%macro move_than_push_it 2	mov %1 , dword %2	push %1%endmacro

⌨️ 快捷键说明

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