Simulation lab starts. Lab report has to be submitted. The list below shows the list of tasks and information to be submitted in the lab report. Task#1 Installation of Proteus 8.0 Installation process of proteus 8.0 Task#2 Simulation of a 4-bit weighted resistor network DAC with a reference voltage of X Volt, where x is

# Category: Course Update

## CSE 322 Fall 2018 Lab 10

Problem #1 (Chapter 10 Problem 9) Write a program that uses XLAT to (a) read a line of text, and (b) print It on the next line with all small letters converted to capitals. The Input line may contaln any characters-small letters, capital, letters, digit characters, punctuation, and so on. //Solution To be done by

## CSE 322 Fall 2018 Lab 9

Problem #1 (Example 10.3) String read and write //Solution .MODEL small .STACK 100h .DATA w dw 10,15,30,40,50,60,70,80,90,’$’ crlf db 0dh, 0ah, ‘$’ .CODE MAIN PROC mov ax, @data mov ds, ax mov ax, 0 lea si, w start: mov bx, [si] cmp bx, ‘$’ je end_ add ax, bx add si, 2 jmp start end_:

## CSE 322 Fall 2018 Lab 8

Problem #1 (Program listing 11.1, 11.2, 11.3) String read and write //Solution .MODEL small .STACK 100h .DATA str db “Hello World$” str2 db 80 dup(0) crlf db 0dh, 0ah, ‘$’ .CODE MAIN PROC mov ax, @data mov ds, ax mov es, ax lea di, str2 call read_str lea dx, crlf mov ah, 9 int 21h

## CSE 446 Fall 2018 Lab 7

Tasks done Read a wave file in matlab and plot it in time domain and frequency domain Write a matlab script to draw a PWM [Pulse Width Modulation] waveform. Your code should take input the frequency and duty cycle of the wave. Your Lab report should include Read a wave file in matlab and plot

## CSE 446 Fall 2018 Lab 6

Tasks done Generating Walsh code Sample Output Give value of n: 8 Walsh code 1: 0 0 0 0 0 0 0 0 Walsh code 2: 0 1 0 1 0 1 0 1 Walsh code 3: 0 0 1 1 0 0 1 1 Walsh code 4: 0 1 1 0 0 1 1

## CSE 322 Fall 2018 Lab 7

Problem #1 (Program listing 9.2, 9.3, 9.4) Decimal input output procedure //Solution .MODEL small .STACK 256 .DATA .CODE MAIN PROC mov ax,@data mov ds,ax call indec push ax mov ah, 2 mov dl, 0dh int 21h mov dl, 0ah int 21h pop ax call outdec Exit: mov ah,4Ch int 21h MAIN ENDP outdec proc push

## CSE 322 Fall 2018 Lab 6

Problem #1 Introduction to stack //Solution Lat sheet 4 page 1-2 //Code .MODEL small .STACK 4h .DATA .CODE MAIN PROC mov ax, @data mov ds, ax mov ax, 0f0fh push ax inc ax push ax pop bx pop cx pop dx pushf popf ENDP MAIN end MAIN Problem #2 (Section 8.2) Write a code to

## CSE 446 Fall 2018 Lab 5

Lab 5 report Tasks done AM modulation a. Generate message and carrier signal b. Generate modulated signal with the equation taught in class c. Add noise to the modulated signal d. Demodulate the signal with built in MATLAB function amdemod e. Plot graphs of all the signals FM modulation a. Generate message and carrier signal

## CSE 322 Fall 2018 Lab 5

Problem #1 (Chapter 7 examples) Introduction to logical instructions //Solution mov ax, 01010101b mov bx, 10101010b ;And Instruction: Logical AND and the result is stored in the first register mov cx, ax and cx, bx ;OR Instruction: Logical OR and the result is stored in the first register mov cx, ax or cx, bx ;XOR