tatailaszlo.hashnode.devThe four basic operations.The following assembly program demonstrates addition, subtraction, multiplication, and division: ; Auhtor : tatai.laszlo@mail.com ; .386 .model flat, stdcall option casemap :none include c:\masm32\include\windows.inc include c:\masm32\include\kerne...May 13, 2025·2 min read
tatailaszlo.hashnode.devA simple loop.There's nothing to explain about the program; the comments are sufficient to understand its operation. ; Author tatai.laszlo@mail.com TITLE Simple Loop ; program name .386 ; 80386 program code or higher. .mod...May 12, 2025·1 min read
tatailaszlo.hashnode.devFileWrite.The following program creates and writes a file. .386 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\kernel32.inc includelib \masm32\lib\kernel32.lib include \masm32\include\user32.inc inclu...Aug 21, 2024·1 min read
tatailaszlo.hashnode.devString input program with stdin.This is also a short program that reads a string from the DOS window. Here is the code: ; StringRead Assembly file ; Author tatai.laszlo@mail.com TITLE StringRead ; a program neve .386 ; The code already runs on 80386 processor. .model ...May 1, 2024·1 min read
tatailaszlo.hashnode.devHello World program, with StdOut.This short program shows how to write any text in the DOS window. We will use the procedure discussed here in the future. Let's see the code: ; HelloWorld.asm TITLE CharacterRead ; program name .386 ; 80386 program code .model f...May 1, 2024·1 min read