PDA

View Full Version : assembly language (assembly program)


hoang
09-27-2002, 04:54 PM
please help me to write these quickly , i really need on sunday .

thanks

1. write a program to print your name to the screen.

2. write a program to read 4 one digit numbers and print their average to the screen .

QT, yeudoi, any idea brothers ???

hoang
09-27-2002, 05:53 PM
hie^'p me please !!!!!:15: does anyone know where can i get tutorial for this assemply language??? helppppppp

ffffff
09-27-2002, 06:44 PM
kho^ng bie^'t ba.n ddang ho.c assembly lang hay dda~ ho.c ru`i chu+a dzi. ?

Kiến Vàng
09-27-2002, 08:08 PM
Bạn đang viết program for what kind of chip, for PC (8086) or Motorola 68hc11 or Microchip PIC , 8051, z80 etc????

hoang
09-27-2002, 08:21 PM
ho.c ro^`i thi` ho?i la`m chi ha? cha fffffff ,vie^'t du`m vo+'i ddi ffff .

kie^'n va`ng , vie^'t cho PC . xin anh giu'p cho , nga`y thu+' 2 la` due date ro^`i .

thanks kie^'n va`ng

ffffff
09-27-2002, 09:54 PM
tui chi? giu'p ddu+o+.c ba.n ca'i program # 1 tho^i, ta.i dzi` tui kho^ng pha?i gio?i ve^` assembly lang ne^n ca'i program #2 pha?i co' tho+`i gian mo+'i vie^'t ddu+o+.c. Program #2 co' pha?i deal vo+'i float num va` neg num ?

-------------------------------------

.MODEL SMALL
.386

.STACK 100h

.DATA
YourName DB 'YOUR NAME HERE$'

.CODE
PrintName PROC

Begin: mov ax, @data
mov ds, ax

lea dx, YourName
mov ah, 09h
int 21h

Exit: mov al, 0
mov ah, 4ch
int 21h
PrintName ENDP

END PrintName

hoang
09-27-2002, 10:04 PM
ca'm o+n fffff brother .

yeudoi
09-27-2002, 11:01 PM
I don't know any assembly. :D

Get a book with tutorial or search google on :

assembly tutorial + beginner + PC

GL

Kiến Vàng
09-28-2002, 03:04 AM
KV xin lỗi Hoang chứ KV đâu có biết gì đâu, xin lỗi là đã làm Hoang thất vọng. Tui biết a little program Visual basic, với Microchip PIc thôi à.
:)

Trung Quốc
09-28-2002, 11:59 AM
Sorry, can't help you. I was moving the last few days, so can't do much. :)

I took assembly a few year ago, I don't remember all the syntax for assembly. However if I have an assembly book with me then I could do it. :) Unfortunately, when I packed all my stuffs to go to school, I don't have much space so I didn't take any of my programming book with me. :) If you can find an ebook or a tutorial website for assembly then I could help you with your programming classes.


QT

hoang
09-28-2002, 04:11 PM
thanks ffffff, KV, yeudoi, QT for your inputs . i guess i've to do some search for this .
have a nice day veryone.