Hello, i am a student and need write an asembler program. for basic 8086 architecture. but i do not understand few conditions for a program:
it says that program must output text to screen whit a int 21, 40h funktion, and indicate stdout as output, with descriptor 1.
what this means?
but isnt int 21, 40h a output to a file?
sorry for my english :lol:
dziugas
0
Newbie Poster
Recommended Answers
Jump to PostThe keyboard and screen are treated just like files. There are three files that are always open when your program: stdin, stdout, and stderr are 0, 1, and 2, respectively. stdin is the keyboard, while stdout and stderr are the monitor. Here is more information about them.
…
Jump to Postyes, length is the number of characters you want written to the screen.
If you do not have this already, here is a list of most common interrups
All 5 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
dziugas
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
dziugas
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.