how can do? 
Author Message
 how can do?

i want ch divided by ten (using tasm)
so
mov ax, ch    ;illegal
mov bl,0ah
div bl
how to improve it!!


Mon, 05 Aug 2002 03:00:00 GMT  
 how can do?

Quote:

> i want ch divided by ten (using tasm)
> so
> mov ax, ch    ;illegal
> mov bl,0ah
> div bl
> how to improve it!!

  mov al, ch
  aam

At that point AH is CH divided by 10 and
AL is the remainder from dividing CH by 10.

[emailed and posted]
--
http://www.erols.com/johnfine/
http://www.geocities.com/SiliconValley/Peaks/8600/



Mon, 05 Aug 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. CA Cans VO ?

2. It's not bad canned meat...

3. It's not bad canned meat...

4. It's not bad canned meat...

5. Using CGI module with 'canned queries'

6. It's not bad canned meat...

7. Doing assembly and really doing assembly

8. Doing assembly and really doing assembly

9. What can be done in FORTRAN that cannot be done in C/C++?

10. How can view styles be done?

11. - Fall 2003 Release done

12. How to minimize damage done by Java

 

 
Powered by phpBB® Forum Software