I've been trying on putting up large decimals on the register and when i typed:

mov bx, 100000d

on assembling the program it says:

...Error: Value out of range

something like that.. what should i do.. can you pls help me.. thanks..
btw im using tasm..

Recommended Answers

All 2 Replies

You do know that bx is a 16-bit register, and the max 16-bit value is 65535 right?

im sorry.. im really just new to assembly..

my bad.. but on my assembler 32bit registers are not allowed or something like that.. i guess i'll find another way.. thanks btw..

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.