Task 1 (eg 6.1) //code mov ax, 70h mov bx, 60h cmp ax, bx jg label1 jl label2 label1: mov cx, ax jmp end_ label2: mov cx, bx end_: Task 2 Take 2 input and if the first input is greater that the second input print ‘>’ if less print ‘<‘ and if both input
Task 1 Write a program to (a) prompt the user, (b) read first, middle, and last initials of a person’s name, and (c) display them duwn the left margin. Sample execution: ENTER THRl::E INITIALS: JFK J F K //Code .MODEL small .STACK 100h .DATA msg db ‘Write three initials $’ .CODE MAIN PROC mov ax,
Task 1 Usage of mov & add instruction Task 2 Input output //Code .MODEL small .STACK 100h .DATA ;declarations .CODE MAIN PROC mov ah,1 int 21h mov bl, al add bl, 1 mov ah, 2 mov dl, ‘ ‘ int 21h mov dl, bl int 21h ENDP MAIN ;other procs (if any) go here end
Topics covered in the lab include Introduction to potentiometer and variable resistor Verification of Ohm’s Law Varying voltage to find current Making table of the data read Graphing the table and finding resistance Varying current (Using a variable resistor in series) to find voltage accross resistor Making table of the data read Graphing the table
Topics covered in the lab includes Introduction to trainer board Switches Meters Voltage source Function generator Introduction to breadboard Introduction to multimeters (VOltmeter, Ammeter, and ohmmeter) Introduction to Oscilloscope Connection of Voltmeter Connection of Ammeter Connection of Ohmmeter Measuring voltage using voltmeter Measuring resistance using ohmmeter Measuring current using ammeter (With a simple resistance and
If you are fairly new to building a circuit on a breadboard, you may face difficulty in EEE labs. Few years back i wrote a series of blog post on absolute basic to starting to build circuits. I hope these can help you if you find it difficult to build a circuit in a breadboard.