Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Need of assume

Status
Not open for further replies.

Manuv16589

New Member
Hi members,
what happens when 'assume' directive is used and not used in assembly language of 8086? I googled it but couldnt find perfect answer. Please help. Thanks in advance
 
You mean like "ASSUME cs:CodeSegment ss:StackStart" - that kind of thing?

This is used with segmented memory when you are in Real Mode - say returning from an interrupt in Protected Mode. "CodeSegment" and "StackStart" would be names you defined those segments with - ASSUME tells the compiler these are the segments to start using, so it doesn't accidentally reference a register at the same location in the previously used segments.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top