0

I am working on program of screensaver in tasm and i used int 21h

Code:

mov ah,35h

mov al,08h

int 21h

i searched about this and i found that 35h is used to transfer the control of the resident program to the interrupt number which is specified in al, here i have specified 08h which is a timer interrupt. But i found that it returns the address of interrupt in ES:Bx. i am not able to understand that what is the meaning of ES:BX, Since the address of interrupt in a 16 bit address and both of the registers are of 16 bit. So, in which register the actual address is going. Please help me as i am new to Assembly Language

asked Apr 12, 2014 at 18:03

1 Answer 1

0

Intel 8086 used segmented memory model, where each pointer was stored in two registers: a segment register (CS/DS/ES/SS) and an offset register, see http://en.wikipedia.org/wiki/Intel_8086#Segmentation

answered Apr 12, 2014 at 18:09
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.