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 0681b1f commit 52c1592Copy full SHA for 52c1592
1 file changed
src/ce/random.src
@@ -96,12 +96,11 @@ _random:
96
ld (iy+3*4+0),a ; l(state[3]) = t3l
97
; Calculate result.
98
ld hl,(iy+3*4)
99
- ld a,b ; auhl = t3
100
- ld de,(iy+2*4)
101
- ld c,(iy+2*4+3) ; cude = state[2]
+ ld a,b ; a:uhl = t3
+ ld de,(iy+2*4) ; (iy+2*4+3):ude = state[2]
102
add hl,de
103
- adc a,c ; auhl = t3 + state[2] = result
104
- ld e,a ; euhl = result
+ adc a,(iy+2*4+3) ; a:uhl = t3 + state[2] = result
+ ld e,a ; e:uhl = result
105
ret
106
107
; ---
@@ -115,11 +114,11 @@ _random:
115
114
_srandom:
116
pop bc
117
pop de
118
- ex (sp),hl ; lude = seed
+ ex (sp),hl ; l:ude = seed
119
push de
120
push bc
121
ex de,hl
122
- ld a,e ; auhl = seed
+ ld a,e ; a:uhl = seed
123
.global __setstate
124
.type __setstate, @function
125
0 commit comments