-
Replied To a Post in Help with MASM in-place string reversal
Hi, Can you replace a part of your code for this one: mov ecx, SIZEOF msg ;initialize loop counter * I believe the issue starts here??? mov eax, OFFSET msg … -
Replied To a Post in Memcpy Char Pointers
Hi, Ancient Dragon, you have detected some errors, but, forgive me if I am wrong, in line 2: "first: " Is a literal string that contains the name of a … -
Replied To a Post in Memcpy Char Pointers
Hi, I am not a C++ expert, but I think that when you call scanf you must pass a pointer. The problem is that first is a pointer to char … -
Replied To a Post in convert AT&T to Intel in osx
Maybe I am wrong but this could be a first aproach to the solution: xorps xmm0, xmm0 movaps [rbp - 64], %xmm0 mov byte ptr [rbp - 63], 2 mov … -
Replied To a Post in BACKSPACE PRob
Hi, Can you tell me what means: passChar[i] - 1; I think that this expression has no effect. Maybe it must be: if(i > 0) { i--; passchar[i] = '\0'; … -
Replied To a Post in Writing, Linking and Executing program in MASM32.
Hi, In 32 bits systems, there was emulation to 16 bits code. In 64 bits systems, there is emulation to 32 bits code, but they do not support 16 bits … -
Replied To a Post in Writing, Linking and Executing program in MASM32.
Hi, I do not know your level of assembly in 32 bits on windows. I have written a Hello world program and can be compiled using the file build.bat of … -
Replied To a Post in Error at opening file
Hi once more, Can you test my code: .286 .MODEL SMALL .STACK 1024 .DATA inputFile db "A:\TASM\DRIVES.ASM", 0 openingError db 'An error has occured at opening the file!$' readingError db … -
Replied To a Post in program star triangle with assembly...?
Hi, Can you give a test to this code: .286 .model small .stack 1024h .code start: mov cx, 5 first: mov bl, 2ah mov bh, 1 call drawall loop first … -
Replied To a Post in Error at opening file
Hi, Well, it is the kind of bug that is repeated again and again. Look at these lines: mov dx, offset s1 int 21h jc readError openError: mov ah, 09h …
The End.