User User name Password  
   
Saturday 18.1.2025 / 00:44
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > digital video > video - software discussion > how 2 assemble asm???
Show topics
 
Forums
Forums
HOW 2 ASSEMBLE ASM???
  Jump to:
 
Posted Message
qwerttyp
Junior Member
_
30. September 2006 @ 09:14 _ Link to this message    Send private message to this user   
HOW DO I ASSEMBLE ASM???
celtic_d
AfterDawn Addict
_
30. September 2006 @ 16:10 _ Link to this message    Send private message to this user   
Generally nasm or yasm.
qwerttyp
Junior Member
_
1. October 2006 @ 14:43 _ Link to this message    Send private message to this user   
wah?
Advertisement
_
__
 
_
MoZo1
Junior Member
_
1. October 2006 @ 15:25 _ Link to this message    Send private message to this user   
Under DOS 6.22 and 386 comp CPU, you need an assembler program (like TASM - Turbo Assembler), then use the corresponding command line syntax, usually found in a txt file with it, and then you will get back an exe/com file, or an erro mesage. Also you have to use a corresponding header, diferent from one assembler version from another. Same things with all: you have to set cs and ds. Usually you set cs in the head, and ds in the first code line.
Example for TASM syntax - small program, wait for a key using DOS interrupts then exit:


kilep segment
assume cs:kilep

start: mov ax,kilep ;|ds regiszter be llŤt sa a szegmens elej?re
mov ds,ax ;|

xor ax,ax ;|billenty?v r s
int 16H ;|

mov ax,4c00H ;|kil?p?s
int 21H ;|

kilep ends
end start


comment: it doesn't use variables, so it doesent use ds, the setting is just a formal thing here.


afterdawn.com > forums > digital video > video - software discussion > how 2 assemble asm???
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork