how to solve constant too large error in TASM?
hefaz 3 Hanif Hefaz
Recommended Answers
Jump to PostYou'll have to give us a good deal more detail about the problem, I'm afraid. What kind of constant are you trying to use? I assume it is an integer, in which case you probably don't have many options - Turbo Assembler (which is the TASM I assume you mean …
Jump to PostYou may want to check your code. Examples of the call show
MOV AX,4C00H INT 21H
Jump to PostI think you'll find that it was
AH
, and that you wanted to set that to 4Ch; however, sinceAH
is the high byte ofAX
, usingMOV AX, 4C00h
is the same as assigningMOV AH, 4Ch
followed byMOV AL, 00h
. The effect is (almost) the same, since …
All 9 Replies
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
hefaz 3 Hanif Hefaz
rproffitt 2,572 "Nothing to see here." Moderator
hefaz 3 Hanif Hefaz
rproffitt 2,572 "Nothing to see here." Moderator
hefaz commented: THANKS IT WAS SOLVED +1
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
hefaz 3 Hanif Hefaz
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
hefaz commented: Yeah +1
hefaz 3 Hanif Hefaz
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.