Some minor adaptions
This commit is contained in:
parent
93e08cb946
commit
5c7379738b
4 changed files with 8 additions and 4 deletions
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
mes 2,EM_WSIZE,EM_PSIZE
|
mes 2,EM_WSIZE,EM_PSIZE
|
||||||
|
#ifndef NOFLOAT
|
||||||
exp $frexp
|
exp $frexp
|
||||||
pro $frexp,0
|
pro $frexp,0
|
||||||
lal 0
|
lal 0
|
||||||
|
@ -27,3 +28,4 @@
|
||||||
sti EM_WSIZE
|
sti EM_WSIZE
|
||||||
ret EM_DSIZE
|
ret EM_DSIZE
|
||||||
end
|
end
|
||||||
|
#endif
|
||||||
|
|
|
@ -30,11 +30,11 @@ _penvp
|
||||||
exp $m_a_i_n
|
exp $m_a_i_n
|
||||||
pro $m_a_i_n,0
|
pro $m_a_i_n,0
|
||||||
#if EM_WSIZE==1
|
#if EM_WSIZE==1
|
||||||
ldc 256
|
ldc 1288 ; EIOVFL | EIUND | ECONV
|
||||||
#else
|
#else
|
||||||
loc 256
|
loc 1288
|
||||||
#endif
|
#endif
|
||||||
sim ; EIUND is ignored
|
sim ; ignored
|
||||||
lal EM_WSIZE+EM_PSIZE
|
lal EM_WSIZE+EM_PSIZE
|
||||||
loi EM_PSIZE
|
loi EM_PSIZE
|
||||||
lae environ
|
lae environ
|
||||||
|
|
|
@ -18,7 +18,7 @@ extern bcopy();
|
||||||
#define BUGFIX 0
|
#define BUGFIX 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern char *sbrk();
|
extern char *sbrk(), *brk();
|
||||||
static char *bottom, *top;
|
static char *bottom, *top;
|
||||||
|
|
||||||
static grow(len)
|
static grow(len)
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
mes 2,EM_WSIZE,EM_PSIZE
|
mes 2,EM_WSIZE,EM_PSIZE
|
||||||
|
#ifndef NOFLOAT
|
||||||
exp $modf
|
exp $modf
|
||||||
pro $modf,0
|
pro $modf,0
|
||||||
lal 0
|
lal 0
|
||||||
|
@ -31,3 +32,4 @@
|
||||||
sti EM_DSIZE
|
sti EM_DSIZE
|
||||||
ret EM_DSIZE
|
ret EM_DSIZE
|
||||||
end
|
end
|
||||||
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue