Download presentation
Presentation is loading. Please wait.
1
EEM336 Microprocessors Laboratory Orientation
Laboratory Sessions Intel 8086 Emu8086
2
Laboratory Sessions Supervisors: Res. Asst. Rasim Çekik,
Res. Asst. Ahmet Aydın, Exp. Hande Özdemir Time, Teaching assistants (TAs): Group A: Friday, 09:00-11:00, İbrahim Yakut, A. Murat Türk. Group B: Friday, 14:00-16:00, Cihan Topal, A. Murat Türk. Lab sessions are performed by student groups. Each group by 2 students Your Lab Performance affect 10% of total course grade. Lab tasks will be announced 2 days before the lab session.
3
Intel 8086
4
Operand Types REG: AX, BX, CX, DX, AH, AL, BL, BH, CH, CL, DH, DL, DI, SI, BP, SP. SREG: DS, ES, SS, and only as second operand: CS. memory: [BX], [BX+SI+7], variable, etc... immediate: 5, -24, 3Fh, b, etc...
5
Emu8086 Software is If you do not have ceng account, Ask from your TAs how to obtain this software!
6
Example Instructions MOV operand1, operand2 ADD operand1, operand2
Copy operand2 to operand1. i.e. operand1 = operand2; ADD operand1, operand2 operand1 = operand1 + operand2; Exercise: Write a program that Loads values of 5 and 10 to AL and BL, respectively Sums up the contents of AL and BL. Saves the result to the memory address 3000h
7
Example Code org 100h ;compiler directive (tells compiler how to handle the source code) mov al, 5 mov bl, 10 add bl, al mov [3000h], bl ;save the result to the memory address (3000h) ret ;stops the program
8
EEM336 Microprocessors Laboratory Orientation
Laboratory Sessions Intel 8086 Emu8086
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.