How do we output value in register AX?
deostroll 10 Newbie Poster
Recommended Answers
Jump to Post>How do we output value in register AX?
How can you be so sure that your computer has a register?
C++, or any compiler doesn't know about registers. C++ also runs on those computer which doesn't have registers.
So, don't go at much lower level with a language as …
Jump to PostSo if you've got say 0x41 in AX, what do you expect to see as "output", and where do you expect to see it?
As the letter 'A'
As the decimal 65
As the hexadecimal 0x41
As a particular colour of pixel somewhere on screen.
As a particular audio …
Jump to PostOk I would like say this:
C++ is not the language which runs on MiniComputers ( IBM PC). It can run on your digital wrist watch too (provided if the wrist watch has that capability). So the language doesn't guarantees the existences of registers.
All 12 Replies
siddhant3s 1,429 Practically a Posting Shark
deostroll 10 Newbie Poster
ArkM 1,090 Postaholic
Salem 5,265 Posting Sage
ArkM 1,090 Postaholic
deostroll 10 Newbie Poster
deostroll 10 Newbie Poster
deostroll 10 Newbie Poster
siddhant3s 1,429 Practically a Posting Shark
deostroll 10 Newbie Poster
siddhant3s 1,429 Practically a Posting Shark
ArkM 1,090 Postaholic
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.