We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c37119 commit 16b298eCopy full SHA for 16b298e
src/crt/float64_to_int.c
src/crt/os.src
@@ -30,8 +30,6 @@ __ishru_b := 000188h
30
__itol := 000194h
31
public __ltof
32
__ltof := 000284h
33
- public __setflag
34
-__setflag := 000218h
35
public __sshl_b
36
__sshl_b := 000244h
37
public __sshrs_b
src/crt/setflag.src
@@ -0,0 +1,24 @@
1
+ assume adl=1
2
+
3
+ section .text
4
5
+ public __setflag
6
7
+if PREFER_OS_CRT
8
9
+__setflag := 000218h
10
11
+else
12
13
+__setflag:
14
+ ret po
15
+ push af
16
+ ex (sp), hl
17
+ ld a, l
18
+ xor a, $80 ; invert S flag
19
+ ld l, a
20
21
+ pop af
22
+ ret
23
24
+end if
0 commit comments