HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Mon Jun 18, 2007 6:30 pm Post subject: o.o |
|
|
| Code: | Number1 dd 0, 0, 0
Number2 dd 0, 0, 0
Number3 dd 0, 0, 0 |
| Code: | mov ebx, Number1
add ebx, Number2
;sub ebx, 1317472
invoke crt__itoa, ebx, addr Number3, 10 |
declare and the moving andadding
now when i add say 1 and 1 using StdIn function with 4 byte data i get:
1317474
i subtracted 2 from it and subtracting that from ebx
it works for SINGLE digits
but when i do like 10 + 10 i get something totally different
theres no tuts on this
any ideas?
_________________
|
|