Thanks.
1. I realize this.
2. That's what I needed to know. I never took a course in asm. My courses were in COBOL, fortran, and PLI. Yep, I'm old. Thanks for the short course on OFFSETs.
3. I will not refer to an OFFSET as a pointer.
I will not refer to an OFFSET as a pointer.
I will...
function 0Ah of interrupt 21h gets a string of chars input from a user. In the second byte of the returned string, it will give you the number of characters in the string, less the enter key.
As for the number of words, a very simple solution could be counting the number of spaces in the string...
I am running under Win95 on a Pentium using MASM. I have the following code:
<code>
.model small
.stack 0100h
.data
inputstring label byte
maxkeys db 80
charsinput db ?
buffer db 80,dup(0)
crlf db 0Dh,0Ah,'$'
.code
main proc
.startup
mov...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.