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 0c7cee2 commit 2475849Copy full SHA for 2475849
CEdev/lib/src/std/acos.asm
@@ -33,25 +33,23 @@ _acos:
33
call __fcmp
34
jp p,l_2
35
36
-l_1: ld bc,4
37
- ld (_errno),bc
38
- xor a,a
39
- sbc hl,hl
+l_1: ld hl,4
+ ld (_errno),hl
+ ld l,h
+ ld e,h
40
jr l_3
41
42
l_2: ld c,(ix+9)
43
- ld b,0
44
push bc
45
ld bc,(ix+6)
46
47
call _asin
48
- ld sp,ix
49
ld bc,13176795
50
ld a,63
51
call __fsub
52
ld hl,bc
+ ld e,a
53
54
-l_3: ld e,a
55
+l_3: ld sp,ix
56
pop ix
57
ret
0 commit comments