0% found this document useful (0 votes)
30 views

Name Ubaid Ur Rehman Reg No FA18-BEE-121-E LAB #1 This Lab Has Been Designed To Familiarize With The Software EMU8086. Objectives Methodology

This lab was designed to familiarize students with the EMU8086 assembly language software. The objectives were to learn 8086-88 CPU assembly syntax and display program output. The methodology involved using EMU8086 to program the 8086 microprocessor in assembly language. Students completed pre-lab reading, ran sample code in the emulator to analyze output, and experimented with software buttons and registers. The conclusion was that all tasks were completed, importance of byte manipulation and registers were understood, and basic use of the EMU8086 software was learned through analyzing output screens and stepping through code.

Uploaded by

ubaid
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views

Name Ubaid Ur Rehman Reg No FA18-BEE-121-E LAB #1 This Lab Has Been Designed To Familiarize With The Software EMU8086. Objectives Methodology

This lab was designed to familiarize students with the EMU8086 assembly language software. The objectives were to learn 8086-88 CPU assembly syntax and display program output. The methodology involved using EMU8086 to program the 8086 microprocessor in assembly language. Students completed pre-lab reading, ran sample code in the emulator to analyze output, and experimented with software buttons and registers. The conclusion was that all tasks were completed, importance of byte manipulation and registers were understood, and basic use of the EMU8086 software was learned through analyzing output screens and stepping through code.

Uploaded by

ubaid
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name Ubaid Ur Rehman

Reg No FA18-BEE-121-E
LAB #1
This Lab has been designed to familiarize with the Software
EMU8086.
Objectives
To identify the use of 8086-88 CPU Assembly Language Syntax and display program output on EMU8086
Software
Methodology
This Lab consists of software named EMU8086 that deals with the programming of the microprocessor
8086 using Assembly Language. Assembly Language is known as a low-level language that is used to
program microprocessors and other programmable devices. This Lab consisted of a Pre-Lab, a Lab task and
a Post-Lab task. The Pre-Lab consisted of reading the manual. It had information regarding the assembly
language syntax, representation of numbers and characters in assembly language, defining of Variables,
Arrays or Strings and Constants. Different terminology regarding different registers and low and high
spaces were discussed. The EMU8086 as well as the first basic command ‘MOV’ was introduced. The Lab
task was to run the provided code in the emulator and analyze the output. It was also advised to use the
built-in Binary, Octal and Hexadecimal numbers for assistance. The code provided was to be run and
observed on the two output screens. The task also included the familiarization with the RUN, Single Step
and Reload buttons. The code provided in the manual was to be traced step by step in order to observe and
analyze the shifting of data across different registers. The post lab included the familiarization with the
software by experimenting, understanding and practicing.
Conclusion
All Lab Tasks were completed. The Pre-lab was read and understood and then implemented in EMU8086
and importance of manipulation of bytes was understood. Importance of registers were acknowledged.
Basic use of the software EMU8086 was understood. Both the output screens were analyzed, and the code
was observed step by step for further understanding of memory and data.
LAB TASK
MOV AX,4566H
AH=45, AL=66
MOV BX,0ABCDH
BH=AB,AL=CD
MOV AX,BX
AH=AB, AL=CD
MOV SI,BX
SI=ABCD

b)
As it is visible from code, first a hexadecimal number 4566 is stored in general purpose register
“AX”, then, a character is saved in “BX”. Then, value stored in “BX” is transferred to “AX”, as
move command copies and pastes the value or number so “BX” has still its value stored in it
which is also transferred to memory “SI”.

You might also like