Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

indirect far jmp - calling old INT problem (Developers)

posted by RayeR Homepage, CZ, 13.05.2012, 20:49
(edited by RayeR on 13.05.2012, 21:00)

> What, worried about one byte?
> Reminds me of "ENTER ..,.." instruction (186+).

enter has 4 byte opcode...


> POP    WORD [SS:BP+6]
>

>
> Isn't SS: implicit when using [BP]? Make sure this isn't generating that
> extra byte you don't want as you probably don't need to say it explicitly.

Yes, you're right, thanks.
Register          Default Segment    Valid Overrides
        BP                      SS              DS, ES, CS
        SI or DI                DS              ES, SS, CS
        DI strings              ES              None
        SI strings              DS              ES, SS, CS

BTW I can see that I had more [SS:BP+x] occurences in code so I saved much more :)

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
22760 Postings in 2121 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum