FinalBirdman
Programmer
I am using tasm 5.0, and I noticed an annoying occurence. Immediate values are assumed to be words. So when I write an immediate value to memory that is a byte value, it writes over the next byte in memory with a zero! Took me a while to figure out what the heck was going wrong with the code there!
Is it possible to change the default number of bytes allocated to an immediate value? Other wise, I have to mov the immediate to AL, and then to memory to avoid the problem. It works, but its two instructions for one.
Any help is appreciated.
Is it possible to change the default number of bytes allocated to an immediate value? Other wise, I have to mov the immediate to AL, and then to memory to avoid the problem. It works, but its two instructions for one.
Any help is appreciated.