movw $16, %ax call .printhexa .printhexa: cmpw $16, %ax jl .printhexa2 movw $16, %bx divw %bx ##### use %dx to print the respective hexadecimal digit ##### jmp .printhexa .printhexa2: ##### use %ax to print the respective hexadecimal digit ##### ret
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)