Ensure that procedure labels are word aligned (required by the EM spec).
This commit is contained in:
parent
ec9b5f5fcd
commit
94867d24b7
|
@ -21,6 +21,7 @@ You must specify the appropriate word size, then REMOVE tables.c
|
|||
|
||||
#define newilb(x) fprintf(codefile,"%s:\n",x)
|
||||
#define newdlb(x) fprintf(codefile,"%s:\n",x)
|
||||
#define newplb(x) fprintf(codefile,".align 4\n%s:\n",x)
|
||||
#define dlbdlb(x,y) fprintf(codefile,"%s = %s\n",x,y)
|
||||
#define newlbss(l,x) fprintf(codefile,".comm %s,%ld\n",l,x);
|
||||
|
||||
|
|
|
@ -44,19 +44,6 @@ begtext:
|
|||
|
||||
jmp (__m_a_i_n)
|
||||
|
||||
#if 0
|
||||
mov eax, (esp) ! eax = argc
|
||||
lea ebx, 4(esp) ! ebx = argv
|
||||
lea ecx, (esp)(eax*4)
|
||||
add ecx, 12 ! environ
|
||||
|
||||
push ecx ! environ
|
||||
push ebx ! argc
|
||||
push eax ! argv
|
||||
push eax ! dummy, representing the return argument
|
||||
xor ebp, ebp
|
||||
#endif
|
||||
|
||||
! This provides an emergency exit routine used by EM.
|
||||
|
||||
.define EXIT
|
||||
|
|
Loading…
Reference in a new issue