You are on page 1of 15

COLLEGE OF ENGINEERING Institutional

IGO1. Generate ideas, plans, and multiple


perspectives in various fields to solve current
needs and issues of society with preference for
the socially disadvantaged.

IGO2. Utilize appropriate technologies,


methods and techniques to provide practical
and innovative solutions that achieve their
intended purpose.

Program
PO(a). ability to apply knowledge of
mathematics and science to solve engineering
problems

PO(b). ability to design and conduct


experiments, as well as to analyze and interpret
data

PO(d). ability to function on multidisciplinary


teams

PO(f). understanding of professional and ethical


responsibility

PO(g). ability to communicate effectively

PO(k). ability to use techniques, skills, and


modern engineering tools necessary for
engineering practice

Course
CO1. Demonstrate Assembly programming as
applied to an Intel 8086 microprocessor
emulator (MASM).

ACTIVITY #2: Learning


COMPILING ASSEMBLY LANGUAGE CILO1. Introduction to Assembly programming
through Microsoft™ Macro Assembler (MASM)
FOR THE 8086 MICROPROCESSOR
hjh

ALCANTARA, MARIE CHRISTINE JOY A.


201512752 Department of Electrical Engineering
BS Electrical Engineering 2/F Ozanam Building
Romualdez St.
Ermita 1000, Manila
Philippines

+632 524 2011 loc 408

Email
raymond.raguindin@adamson.edu.ph
rrraguindin.adu@engineer.com
Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

DATA SCREENSHOTS

Sc1

In this figure, we have set up the simulation with V1 to 100V and R1 as 2k ohms and
We set the potentiometer to 10%.

Sc2

We adjusted the value of potentiometer to 20% and we obtained a value of 0.1999 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 2


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc3

Adjusted the potentiometer to 30% and we got a value of 0.2999 ohms

Sc4

While in this figure, we modify the potentiometer to 40% and obtained a value of 0.39998 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 3


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc5

We adjusted the potentiometer to 50% and we acquire a value of 0.49998ohms,


the value of voltage still remains at 100 volts.

Sc6

From this figure, we obtained a resistance value of 0.59997 with a 60% potentiometer.

PRINCIPLES OF COMMUNICATION LAB Page 4


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc7

With a 70% potentiometer, we obtained a resistance value of 0.69997 ohms

Sc8

While in this figure, we set the potentiometer to 80% and got a resistance value of 0.79997 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 5


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc9

We obtained a resistance value of 0.8998 ohms with a 90% potentiometer.

Sc10

While in this figure, we adjusted the potentiometer to 100% and got a resistance
value of 1.0ohms.

PRINCIPLES OF COMMUNICATION LAB Page 6


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc11

Based from procedure 3, we simulated a new circuit with 10 volts as V2 and 1000 ohms as R2.
With this set circuit we obtained a DC resistance value of -0.9998 ohms.

Sc12

In this figure, the R2 was set to 500 ohms and the V2 remains 10v and we got a DC resistance
value of -0.4998 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 7


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc13

With the same voltage, we adjusted the value of R2 to 2000 ohms and obtained a resistance
of -1.9996 ohms.

Sc14

While in this figure we set the resistance to 3000 ohms and obtained a DC
resistance value of -2.7728 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 8


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

Sc15

For the last figure, we adjusted the resistance to 5000 ohms with the same voltage and got a
DC resistance value of -3.3017 ohms.

PRINCIPLES OF COMMUNICATION LAB Page 9


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

PROCEDURAL QUESTIONS

TABLE 1

POTENTIOMETER ATTENUATION ATTENUATION


(SIMULATED) (COMPUTED)
10% 0.1 0.1
20% 0.1999 0.2
30% 0.2999 0.3
40% 0.3999 0.4
50% 0.4999 0.5
60% 0.5999 0.6
70% 0.6999 0.7
80% 0.7999 0.8
90% 0.8999 0.9
100% 1.0 1.0

PRINCIPLES OF COMMUNICATION LAB Page 10


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

TABLE 2

R2 GAIN (SIMULATED) GAIN (COMPUTED)


1000 ohms -0.9998 -1
500 ohms -0.4998 -0.5
2000 ohms -1.9996 -2
3000 ohms -2.7728 -3
4000 ohms -3.3017 -4

PRINCIPLES OF COMMUNICATION LAB Page 11


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

DATA COMPUTATIONS
TABLE 1
Formula:
𝑎𝑡𝑡𝑒𝑛𝑢𝑎𝑡𝑖𝑜𝑛𝑠𝑖𝑚𝑢𝑙𝑎𝑡𝑒𝑑=𝑉𝑜𝑢𝑡/𝑉𝑖𝑛
𝑎𝑡𝑡𝑒𝑛𝑢𝑎𝑡𝑖𝑜𝑛𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑=%𝑝𝑜𝑡𝑒𝑛𝑡𝑖𝑜𝑚𝑒𝑡𝑒𝑟/100

POTENTIOMETER A(SIMULATED) A(COMPUTED)

10% 10/100 0.1 10/100 0.1

20% 19.999/100 0.1999 20/100 0.2

30% 29.999/100 0.29999 30/100 0.3

40% 39.998/100 0.39998 40/100 0.4

50% 49.998/100 0.49998 50/100 0.5

60% 59.997/100 0.59997 60/100 0.6

70% 69.997/100 0.69997 70/100 0.7

80% 79.997/100 0.79997 80/100 0.8

90% 89/100 0.89998 90/100 0.9

100% 100/100 1.0 100/100 1.0

PRINCIPLES OF COMMUNICATION LAB Page 12


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

TABLE 2

Formula:
𝐴𝑠𝑖𝑚𝑢𝑙𝑎𝑡𝑒𝑑=𝑉𝑜𝑢𝑡/𝑉𝑖𝑛
𝐴𝑐𝑜𝑚𝑝𝑢𝑡𝑒𝑑=−𝑅2/𝑅1

R2 A(SIMULATED) A(COMPUTED)

1000 ohms -9.998/10 -0.9998 -1/1 -1

500 ohms -4.9998/10 -0.4998 -0.5/1 -0.5

2000 ohms -19.996/10 -1.9996 -2/1 -2

3000 ohms -27.728/10 -2.7728 -3/1 -3

4000 ohms -33.01/10 -3.3017 -4/1 -4

PRINCIPLES OF COMMUNICATION LAB Page 13


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

DATA ANALYSIS

As I conducted this activity entitled “Attenuation and Gain”, I was able to recognize in table 1 that the
attenuation simulated data and attenuation computed values were almost equal that means that the given
potentiometer were accurate from the simulated circuit. Based from my observations, potentiometer is just
a variable resistor with an adjustable terminal. As the value of potentiometer increases, the attenuation
also increases or their relationship were simple directly proportional with each other. The purpose of
potentiometer is to balance the potential difference by passing a current through a known variable
resistance. Attenuation can be obtained by dividing the output voltage to input voltage. Thus, attenuation
creates a lower signal level in the circuit.

In table 2, I have found out that based from the obtained data’s, gain simulated were also almost equal to
the gain computed. Hence, as the R2 decreases the output voltage and gain increases. Therefore, the
relationship between gain and attenuation are opposite. The word gain implies profit signal or the level of
signal changes while for attenuation makes a signal level lower or simple creates a loss signal. To make it
short, while conducting this activity I have come up to an idea that attenuation is directly proportional to
resistor while it is inversely proportional to gain.

PRINCIPLES OF COMMUNICATION LAB Page 14


Adamson University
College of Engineering
Electrical Engineering Department
900 San Marcelino St., Ermita, Manila

CONCLUSION
I therefore conclude that gain means amplification. if an output of the signal has greater amplitude than
the output signal. Thus, the circuit has gain while attenuation refers to as loss. If the output signal has less
in amplitude than input signal then the circuit has loss. Both attenuation and gain can be obtained by
dividing the output voltage to the input voltage.

 RECOMMENDATION
I think multisim is the easiest and best way to simulate a circuit through the use of
computer software. I have found out that multisim gives the user an accurate result
instead of performing it in actual but there is still some differences, so with this I
recommend this to my co students to use multisim as a second option when they are
conducting their experiment, they can use multisim to check for any errors occurs in
their actual performance circuit.

“The woman who follows


the crowd will usually go
no further than the crowd.
The woman who walks
alone is likely to find
herself in places no one
has been before.”
Albert Einstein

PRINCIPLES OF COMMUNICATION LAB Page 15

You might also like