jdigreze wrote:Кажись я понял прикол с куркулятором, точнее со своей головой в состоянии "после работы"...
бугога, Practical Curculator попробуй

; jr z, loc_6362
; ld a, l
; neg
; ld l, a
; ld a, 0
; sbc a, h
; ld h, a
;
;loc_6362:
; bit 7, d;0th bit Carry (C). Determines if there was an overflow or not. Note that it checks for unsigned values. The carry flag is also set if a subtraction results in a negative number.
; jr z, loc_636E;N flag is set, all other flags modified by definition.
; ld a, e
; neg
; ld e, a
; ld a, 0
; sbc a, d
; ld d, a
ld a,e
cpl
ld e,a
ld a,d
cpl
ld d,a
inc de
Condition Bits Affected:
S is set if result is negative; reset otherwise
Z is set if result is 0; reset otherwise
H is set if borrow from bit 4; reset otherwise
P/V is set if Accumulator was 80H before operation; reset otherwise
N is set
C is set if Accumulator was not 00H before operation; reset otherwise
g0blinish wrote:нолька, предлагаешь аналог?
Users browsing this forum: No registered users and 1 guest