Results 1 to 10 of 10
Hybrid View
-
26th January 2009 00:02 #1Registered User
Join Date: Jan:2009
Location: bg
Posts: 5
...
: ASCII .
stack_seg segment stack
dw 128 dup (?)
stack_seg ends
pokazwane segment
assume cs
okazwane
start: mov dl,00
m1: mov ah,02h ;
int 21h ; DL
inc dl
call izchakvane ;
jmp m1
izchakvane proc near ;
push bx
push cx
mov bl,20h ;
m3: mov cx,0ffffh
m2: dec cx
jnz m2
dec bl
jnz m3
pop cx
pop bx
ret ;
izchakvane endp ;
pokazwane ends
end start
: ASCII ( FAR)
extrn izchakvane:far
stack_seg segment stack
dw 128 dup (?)
stack_seg ends
brojach segment
assume cs:brojach, ss:stack_seg
start: mov dl,00
m1: mov ah,02 ;
int 21h ; DL
inc dl
jmp m1
brojach ends
end start
end
: -
public izchakvane
stack_seg segment stack
dw 128 dup (?)
stack_seg ends
podpr_izchakvane segment
assume cs
odpr_izchakvane, ss:stack_seg
izchakvane proc far
push bx
push cs
mov bl,20h
m2: mov cx,0ffffh
m1: dec cx
jnz m1
dec bl
jnz m2
pop cx
pop bx
ret
izchakvane endp
podpr_izchakvane ends
end
... LINK PROG2+PROG3 , dos-a
, ...Last edited by fresh_girl; 27th January 2009 at 00:41.
-
26th January 2009 01:40 #2
Join Date: Sep:2005
Location: Sofia
Posts: 18,517
jmp m1
.
cx bx ( bl) . .
. 21h (int 21h). , - .
, , - -.
Code:
-
26th January 2009 07:51 #3
?
tasm, masm xor nasm?Have no fear ike iz here.
CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color
-
26th January 2009 12:32 #4Registered User
Join Date: Jan:2009
Location: bg
Posts: 5
tasm , tlink , ... ... , ,
-
27th January 2009 02:45 #5
2 .obj
.obj - exe.
- google
http://www.cse.ust.hk/~cktang/cs180/tasm.htm
Code:Using Turbo Link Once the program has been assembled, you will need to link the various .obj files into an executable file. To do this, you will need to use Turbo Link. To link your file, simply type: l:\bc31\bin\tlink filename where filename is the name of your .obj file. Running tlink without specifying any options will display a help screen. Any options should be specified before the filename. After the filename, you can specify all other .obj files to be linked together. After the list of .obj files, you can specify the name of the .exe, the name of the .map, and a list of libraries to be linked into the program. Each option should be separated by a comma. For example, the command: l:\bc31\bin\tlink /c reverse prog2,,,lib\bri will link the files reverse.obj and prog2.obj into a file reverse.obj and create a map file reverse.map and using the supporting library lib\bri.lib. The /c option specifies that the .obj file is case sensitive.
Have no fear ike iz here.
CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color
-
27th January 2009 16:30 #6Registered User
Join Date: Jan:2009
Location: bg
Posts: 5
link prog2+prog3 ... tlink
-
27th January 2009 17:11 #7
tlink.
Have no fear ike iz here.
CPU Cx486DLC@40MHz, RAM 4MB, VGA Trident 512KB, HDD Conner 160MB, Monitor 14" Color
-
27th January 2009 20:44 #8Registered User
Join Date: Jan:2009
Location: bg
Posts: 5
Ike
... .. ?
-
27th January 2009 21:15 #9
Join Date: Sep:2005
Location: Sofia
Posts: 18,517

- ?
-
27th January 2009 21:37 #10Registered User
Join Date: Jan:2009
Location: bg
Posts: 5
, ,




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in