Hey, I need a little help with a particluar point in my MASM uni assignment (well, I actually need a lot of help, but one problem at a time) please.
I've got a BYTE array 20 bytes long which I'm using as a input string buffer, and it's going to recieve two numbers sepatared by a comma (i.e. 512,43 - it's a pixel reference on a screen).
I've also got two SDWORD variables that need those two numbers in them (xOrigin, yOrigin). How can I get this to properly divide the two into the SDWORD values? I could probably manage it in C++, but it's my first time with ASM.
I've got a BYTE array 20 bytes long which I'm using as a input string buffer, and it's going to recieve two numbers sepatared by a comma (i.e. 512,43 - it's a pixel reference on a screen).
I've also got two SDWORD variables that need those two numbers in them (xOrigin, yOrigin). How can I get this to properly divide the two into the SDWORD values? I could probably manage it in C++, but it's my first time with ASM.