[A83] How using and


[Prev][Next][Index][Thread]

[A83] How using and




Hi, I'm trying do to something...

CHANGEMELEEWEAPON:
	bcall(_convop1)       ; My number to compare is in op1
	ld	(v_temp),de   ; Now I want to see if v_temp
	ld	a,(v_temp)    ; (v_temp AND v_weapma) not= 0
	ld	de,(v_weapma) ; But this doesn't work
	and	de            ; How can I do this?
	cp	0
	jp	z,cannotbuy
	jp	verifyachat

v_temp:
         .dw 0
v_weapma:
         .dw 0

_________________________________________________________________
Téléchargez MSN Explorer gratuitement à l'adresse 
http://explorer.msn.fr/intl.asp.




Follow-Ups: