1 / 7

Praktikum 2

Praktikum 2. Aplikasi Mikroprocessor. Panduan praktikum. Buku latih mikroprocessor Z80. sintak dasar di uP z80. Pengaksesan alamat memori Pengaksesan register Pembacaan data Setting register menggunakan mnemonic Rolling data BRS, CLC, go, read, etc. Percobaan 1.

pepper
Download Presentation

Praktikum 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Praktikum 2 AplikasiMikroprocessor

  2. Panduanpraktikum • Bukulatihmikroprocessor Z80

  3. sintakdasar di uP z80 • Pengaksesanalamatmemori • Pengaksesan register • Pembacaan data • Setting register menggunakan mnemonic • Rolling data • BRS, CLC, go, read, etc

  4. Percobaan 1 • Reset (RS)  mereset register, PC, SP dan disable interrupt dan breakpoint. • Pertukaranmemori ([addr] dan [data]) • [addr]  kirialamat [4 byte] dankanan data [2 byte] • [data]  titikindeksuntuk data • + -  untukmenaikkan/menurunkan PC (program counter) merubahalamatmemori • Alamat RAM 1800h – 1FFFh danalamat ROM 0000h-17FFh • Memeriksa register ([reg] dan [data]) • Reg AF, BC, DE, HL, BC’, DE’, HL’, IX, IY, SP, I-IF, SZ-H, PNC, SZ-H’, PNC’

  5. Program counter (PC)  mereset program counter (1800h) • Menjalankan program (GO) : GO  PC  GO • Single step (STEP)  PC  STEP • Bisamengubahisialamatdanregselama step berlangusng • Set break point (SBR)  set batasalamatmenjalankanintruksi

  6. Interupt NMI dan INT • Clear break pointe  CBR • Berhentisegera  MONI • Memindahkanblokmemori  MOVE • Penghapusan data  DEL • Penyelipan data  INS • Perhitunganalamat relative [RELA] proses jumping • Subroutine monitor  alamat I/O

  7. Tugas • Definisikantiapintruksidasar yang digunakan di uP Z80

More Related