this is a little bit confusing, but can I know what does each part of this codes means..
especially those ptr, something.
i understand those mov.. but the others aren't.
i have googled a lot, but still can't understand..
what i know:
the basic structure of tasm(.stack, .data, .code, and the start thingy, end thingy)
what i don't know, ptr, ja, byte et. all.
can you atleast explain me what these things does...
thank you very much..
.model small .stack 100h .data string db '123 test TEsting$' .code start: mov ax, @data mov ds, ax upper_case: cmp byte ptr [BX], '$' je done ; check if it's a lower case letter: cmp byte ptr [bx], 'A' jb ok cmp byte ptr [bx], 'Z' ja ok ;and byte ptr [bx], 11011111b or byte ptr [bx], 32 ok: inc bx ; next char. jmp upper_case done: lea dx, string mov ah, 09h int 21h ; wait for any key press.... mov ah, 0 int 16h mov ax, 4C00h int 21h end start