-Finding integer root with assembly-
You can find all details in this pdf file (written in turkish language)
https://drive.google.com/file/d/1Lbxq_lRlw2g7uVcSJPz2tZVFaV5RIfQB/view?usp=sharing
You can download emu8086 in here (emu8086v408r11.zip):
https://drive.google.com/file/d/1dM9tkumZfLJnjj3jI10R_NC9R0ccESqp/view?usp=sharing