Laboratoriay ish № 5
ASSEMBLERDA STANSIYA STRELKASI BOSHQARUVCHI DASTURNI TUZISHVA PROTEUSDA ECHISH
Strelkani boshqarish va nazorat etish dasturini tuzish
Ishdan maqsad: boshqaruv va nazorat qilish ob'ektlari uchun dasturiy ta'minotni ishlab chiqish .
Laboratoriya ishini bajarish uchun topshiriqlar
Laboratoriya uchun vazifalari:
blok – sxema va dastur tuzilsin;
Proteus dasturida sxema terilsin ;
dastur ishga tushirilsin ;
Variantlar ilovada keltirilgan.
4 – rasm.
5 – rasm.
6 – rasm.
;====================================================================
; Main.asm file generated by New Project wizard
;
; Created: Вс янв 5 2020
; Processor: 80C31
; Compiler: ASEM-51 (Proteus)
;====================================================================
$NOMOD51
$INCLUDE (8051.MCU)
;====================================================================
; DEFINITIONS
;====================================================================
;====================================================================
; VARIABLES
;====================================================================
;====================================================================
; RESET and INTERRUPT VECTORS
;====================================================================
; Reset Vector
org 0000h
jmp Start
;====================================================================
; CODE SEGMENT
;====================================================================
org 0100h
Start:
mov a,p3
anl a,#03h
jz Zel
mov a,p3
anl a,#01h
jz hel
mov a,#00h
mov p2,a
jmp start
zel:
mov a,#03h
mov p2,a
jmp start
Hel:
mov a,#01h
mov p2,a
jmp start; Write your code here
Loop:
jmp Loop
;====================================================================
END
Studentlar 4dan komandalarga bo’linadi:
1 komanda 1 strelka uchun;
2 komanda 3 strelka uchun;
3 komanda 2 strelka uchun;
4 komanda 4 strelka uchun.
Laboratoriya ishi asosida hisobot tayyorlash
Topshiriq varianti haqida ma'lumot.
Hisoblash algoritmining blok – sxemasini.
Hisoblash dasturini.
Xulosa.
Foydalangan adabiyotlar ro'yxati.
Nazorat savollari
1.Strelka stantsiyada nima uchun keraki?
2.Rels zanjir band bo’lsa strelkani o’tqazish mumkinmi?
3.Dastur qaysi yacheykadan boshlanishi kerak?
4.Dastur terilgan dan keyin nima bajarish kerak?
5.Nima degan kompilyatsiya?
6.Kompilyatsiya o’tqazish uchun nima qilishiz kerak?
7. Dastur terilgan song mikrorontroller ishiga tushma sababi?
Xulosa
Men Boltayev Amriddin ushbu laboratoriya ishida assemblerda stansiya strelkasi boshqaruvchi dasturni tuzdik va proteusda dasturi yordamida yechidik. boshqaruv va nazorat qilish ob'ektlari uchun dasturiy ta'minotni ishlab chiqish .
Adabiyotlar
D. M. Harris and S. L. Harris, ‘Digital Design and Computer Architecture,’ Morgan Kaufmann, 2007. – p.1619 Издательство Morgan Kaufman © English Edition 2013
|
Muhammad Ali Mazidi,Janice Gillispie Mazidi,Rolin D. McKinlay The 8051 Microcontroller and Embedded Systems.Using Assembly and C Second Edition.2014. – page – 617. ISBN-13: 978-0131194021,ISBN-10: 013119402X
|
Suresh P. Naiz [AIE,ME,(PhD)] MIEE. Professor & Head Department of Electronics and Communication Engineering Royal Colleg of Engineering and Technology. Digital electronics basics.2013. – p.135.
|
Алиев М.М. Цифровая вычислительная техника и микропроцессоры. Учебное пособие. –Т.: «Fan va texnolog’ya», 2009.
|
Электронное образование ТашИИТ.moodle.tstu.uz
Hemis.tstu.uz
|
|