Results 1 to 5 of 5
Thread: ASSEMBLER
Hybrid View
-
12th January 2012 10:50 #1Registered User
Join Date: Jan:2012
Location:
Posts: 3
ASSEMBLER
: .
1. 1
2. 2
3.
1 1.
2 2
3
.
, ( ).
:
1
include macro.bib
stack_seg segment stack
dw 128 dup(?)
stack_seg edns
dw_broene segment
assume: cs:dw_broene, ss:steck_seg
start mov BL,0
M4: mov Cx,8
M3: Rol BL,1
JNC M1
mov DL,31H
jmp M2
M1: mov DL,30H
M2: pokazwane_DL
loop M3
inc BL
new_red
chakane 50
push AX
mov AH,06H
mov DL,0FFH
int 21H
jz M5
cmp AL, 1BH
Je kraj
M5: pop AX
jmp M4
kraj: msdos
DW_broene ends
end start
2
include macro.bib
stack_seg segment stack
dw 128 dup(?)
stack_seg ends
seg_danni segment
brojach db ?
seg_danni ends
dw_broene segment
assume: cs:dw_broene, ds:seg_danni, ss:stack_seg
start mov ax, seg_danni
mov ds, ax
mov brojach,0
M2: mov cx,8
M1: mov DL, "0"
rol brpjach, 1
adc dl, 0
pokazwane_dl
loop M1
inc brojach
new_red
chakane 50
push ax
mov ah,06H
mov dl, 0ffH
int 21H
jz M3
cmp al, 1BH
je kraj
M3: pop Ax
jmp M2
kraj: MSDOS
dw_broene ends
end start
brojach, chakane, pokazwane_DL, new_red MSDOS ( ).
-
12th January 2012 11:09 #2
, , ....... , .
E8500 : X3 400e : W3530 : X3430 : i5-760 : i5-2500K : R3 1200 AF : G4400 : i3-6100 : R3 3100 : CMK16GX4M2E3200C16 : TUF B450M-PRO S : WD SN720 : SAPPHIRE HD7950 Vapor-X Modified : AUDIDHH @ HWBOT :
-
12th January 2012 11:17 #3Registered User
Join Date: Jan:2012
Location:
Posts: 3
-
12th January 2012 16:49 #4Registered User
Join Date: Jul:2004
Posts: 499
?
.
-
12th January 2012 17:06 #5Registered User
Join Date: Jan:2012
Location:
Posts: 3
, .




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