stdout.put( "Enter a number " );
stdin.getd();
lets say the user types "01020304"
i need to look at every two digits(i.e. 01,02,03,04)
and do some work with them. My question is how would i go about seperating these number so i can work on them?
stdout.put( "Enter a number " );
stdin.getd();
lets say the user types "01020304"
i need to look at every two digits(i.e. 01,02,03,04)
and do some work with them. My question is how would i go about seperating these number so i can work on them?
that doesn't look like any assembly I know of. But basically divide the number by 10 and the digit you want is in the remainder part.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.