moved i368 specific code
This commit is contained in:
parent
308017d5e0
commit
421911f921
1 changed files with 7 additions and 0 deletions
|
@ -443,11 +443,18 @@ void gfunc_epilog(void)
|
|||
*func_sub_sp_ptr = (-loc + 3) & -4;
|
||||
}
|
||||
|
||||
/* generate a jump to a label */
|
||||
int gjmp(int t)
|
||||
{
|
||||
return psym(0xe9, t);
|
||||
}
|
||||
|
||||
/* generate a jump to a fixed address */
|
||||
void gjmp_addr(int a)
|
||||
{
|
||||
oad(0xe9, a - ind - 5);
|
||||
}
|
||||
|
||||
/* generate a test. set 'inv' to invert test. Stack entry is popped */
|
||||
int gtst(int inv, int t)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue