CSE 446 Fall 2018 Lab 4

October 9, 2018

Tasks done BPSK QPSK Lab 4 report Include in the report BPSK from input bit vector a. The code for your code. The code must take, input vector(b), sampling frequency(fs), and carrier frequency(fc) as input. b. A single graph containing input binary, carrier signal, and the modulated signal. Use subplot to add the three graph

Continue Reading

CSE 322 Fall 2018 Lab 4

October 9, 2018

Problem #1 (Example 6.6) [AND condition] Read a character, and if it’s an uppercase letter, display it. //Solution mov ah, 1 int 21h cmp al, ‘A’ jl not_print cmp al, ‘Z’ jg not_print print: mov ah, 2 mov dl, al int 21h not_print: //Alternative COde mov ah, 1 int 21h cmp al, ‘A’ jge next

Continue Reading

CSE 322 Fall 2018 Lab 1

October 2, 2018

Problem #1 General structure of Assembly code and printing characters. //Solution .MODEL small .STACK 100h .DATA .CODE MAIN PROC mov ah, 2 mov dl, 41h int 21h mov dl, 0ah int 21h mov dl, 0dh int 21h mov dl, 41h int 21h ENDP MAIN end MAIN Proiblem #2 Input and output of characters //Solution .MODEL

Continue Reading