Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword
Like this
1Activity
×
0 of .
Results for:
No results containing your search query
P. 1
אסמבלר- מבחן לדוגמא

אסמבלר- מבחן לדוגמא

Ratings: (0)|Views: 289|Likes:
Published by Ron
שנה שנייה\מיקרו מעבדים ושפת אסמבלר\מבחנים###
שנה שנייה\מיקרו מעבדים ושפת אסמבלר\מבחנים###

More info:

Categories:Types, School Work
Published by: Ron on Sep 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See More
See less

04/21/2013

pdf

text

original

 
 
  – 2 )9.00-11.00.(  . 
 . 
 ! 
 15  
. .
 
-Protected mode?. .
 
-IDTR  -Protected mode?.  ?..
 
 20   
I/O Intr .  . PIC(8259)  :
 
:
 
80X86#1 #2 Real mode .- #2 -  ISR #1. - -IS  #2 - ISR  #1.  ? 1
 
25  
315 
. .  ?ret
 
..
mov ah,00005hmov bh,00007hmov al, 0Bh0009hmov bl,5h000Bh push ax000Dh push bx000Ehcall prog1000Fhadd al,10012h
..
 prog1: pop ax0018h pop bx 0019hadd al,bl001Ahret001Ch..
 
. 5. 2
 
 ' 25
1.
 
. model small2.
 
. data3.
 
blockad dw 71h, 172h, 111h, 17ah, 34h, 1b5h, 1cch, 877h,4.
 
4a1h, 2ch, 0fh, 552h, 1b6h, 23h, 15h, 216h, ’$5.
 
block1 dw 10h dup (?)6.
 
block2 dw 10h dup (?)7.
 
blockl dw 10h8.
 
. stack 100h9.
 
. code10.
 
start: mov ax, @data11.
 
mov ds, ax12.
 
xor si, si13.
 
mov di, si14.
 
mov bx, si15.
 
mov cx, blockl16.
 
beg: mov ax, blockad [si]17.
 
cmp ax, 100h18.
 
 jl one19.
 
cmp ax, 200h20.
 
 jg two21.
 
next: add si, 222.
 
loop beg23.
 
mov ax, 4ch24.
 
int 21h25.
 
one: mov block1 [di], ax26.
 
mov blockad [si], 027.
 
add di, 228.
 
 jmp next29.
 
two: mov block2 [bx], ax30.
 
mov blockad [si], 031.
 
add bx, 232.
 
 jmp next33.
 
end
AX ,BX ,CX ,SI ,DI ( ).(NEXT .DATA. 
 
' 25
3

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->