Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] x86 and windows questation

Status
Not open for further replies.

sagar474

Full Member level 5
Full Member level 5
Joined
Oct 18, 2009
Messages
285
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,318
Location
India,kakinada
Activity points
3,123
what is win32 application
then dose windows run in real mode or in protected mode
but in real mode we can use only 16 bit registers.
 

As the name suggests, it uses 32 bit registers (and wide memory space), which already answers your question.

Windows still provides a 16-Bit subsystem to support old real mode Windows and DOS applications. You can e.g. start the good old real mode DOS debugger in a command window and feel like 30 years back in time ...
 
windows application is a 32bit application.
windows run in protected mode.
 
if windows runs under protected mode how this program can work


TITLE ch04p8 This is the string
.MODEL small
.data

message db "This is the string",0dh,0ah,'$'

.code
main proc

mov ax,@data
mov ds,ax

mov ah,9
mov dx, offset message
int 21h
mov ax,4C00h
int 21h
main endp

end main
 

under protected mode , it switches to 'virtual 86' mode for that program.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top