The Old Pirate Posted August 28, 2006 Posted August 28, 2006 (edited) mov al, byte ptr ds:[address1]not almov byte ptr ds:[address1], alcmp al, 255je address2How to enshorten this code? Or any other way? Edited August 28, 2006 by The Old Pirate
Ziggy Posted August 28, 2006 Posted August 28, 2006 trynot byte ptr ds:[address1]cmp byte ptr ds:[address1], 0FFhje address2Note that al is not modified at all by this codeZiggy
The Old Pirate Posted August 28, 2006 Author Posted August 28, 2006 Thanks. AL doesn't matter, the point is to make other condition for the jump in each pass.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now