Assembly x86 program. Counting numbers in an input
问题 Hello I am just learning assembly so I don't really understand many things yet. I have to write a program where the user inputs some kind of line of various letters numbers etc. And the program should count how many numbers there are in the input and print the counter out. Here is my code: .model small .stack 100h .data buffer db 100, ?, 100 dup (0) count db 0 .code start: mov ax, @data mov ds, ax mov dx, offset buffer mov ah, 0Ah int 21h mov ah, buffer xor si, si xor cx, cx .loop: .notdigit: