We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2475849 commit 08a966aCopy full SHA for 08a966a
CEdev/lib/src/std/acos.asm
@@ -17,18 +17,22 @@
17
; }
18
19
_acos:
20
- call __frameset0
+ pop hl
21
+ pop de
22
+ pop bc
23
+ push bc
24
+ push de
25
+ push hl
26
+ ld a,e
27
ld hl,8388608
28
ld e,63
- ld bc,(ix+6)
- ld a,(ix+9)
29
push bc
30
push hl
31
call __fcmp
32
pop bc
33
pop hl
34
jp m,l_1
- ld e,(ix+9)
35
+ ld e,a
36
ld a,191
37
38
jp p,l_2
@@ -37,19 +41,14 @@ l_1: ld hl,4
41
ld (_errno),hl
42
ld l,h
39
43
ld e,h
40
- jr l_3
44
+ ret
45
-l_2: ld c,(ix+9)
- push bc
46
+l_2: push de
47
48
call _asin
49
ld bc,13176795
50
ld a,63
51
call __fsub
52
ld hl,bc
53
ld e,a
-
-l_3: ld sp,ix
54
- pop ix
55
ret
0 commit comments