| | |
idea to post simple assembly examples.
![]() |
•
•
Join Date: Aug 2009
Posts: 7
Reputation:
Solved Threads: 0
isnt it an good idea to make an sticky where everyone can post,
simple examples?
or mini tuts
to get peaple started with asm?
like this an masm example:
simple examples?
or mini tuts
to get peaple started with asm?
like this an masm example:
assembly Syntax (Toggle Plain Text)
.model small .stack .data .code main proc mov ah,1 ; dos int 21 interupt ah =1 to int 21h ; get char from standard input with echo result in al. mov ah,4ch ; program exit int 21h main endp end main
You really don't have enough for a useful snippet. It doesn't do anything! Takes input then terminates!
And you need more comprehensive comments. Something more like...
And you need more comprehensive comments. Something more like...
Assembly Syntax (Toggle Plain Text)
; Get a character from input with echo in al mov ah,1 ; CMD: Get single char int 21h ; DOS interrupt . ; al = char mov ah,4ch ; program exit int 21h ; DOS interrupt
![]() |
Similar Threads
- Wmp many problems (Windows Vista and Windows 7)
- assembly simple games(Nasm) (Assembly)
- Finding simple code examples? (Assembly)
- Assembly, machine code and compilers (Assembly)
Other Threads in the Assembly Forum
- Previous Thread: Decimal to other number systems..
- Next Thread: Assembly Language Resources
| Thread Tools | Search this Thread |





