flat assembler
Message board for the users of flat assembler.

Index > Main > About AAS

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 657
l4m2
Code:
A100
MOV AX, 8
SUB AX, 9
AAS
INT 3

G=100    
returns AX=FE09(Why) but
Code:
A100
MOV AL, 8
SUB AL, 9
DAS
INT 3

G=100    
returns AL=99(in dec. 108-9=99)
Post 06 Dec 2016, 06:23
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 657
l4m2
Code:
mov ax,407
sub ax,108
aas
int 3    
returns AX=0109
Post 06 Dec 2016, 06:25
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.