Question: E 3 . 1 Write assembler directives to define the ASCII codes of letters a to z in program memory. E 3 . 3 Invoke

E3.1 Write assembler directives to define the ASCII codes of letters a to z in
program memory.
E3.3 Invoke the SetPointer macro defined as following to load the address 0x3000
into Y register.
macro setPointer
ldi @0, low(@2)
ldi @1, high(@2)
endmacro
E3.5 Write a program to add the 24-bit numbers stored at data memory locations
0x200-0x202 and 0x203-0x205, respectively, and store the sum at 0x206-0x208.
E3.9 Write a program to subtract the 32 bit number stored at 0x200-0x203 from the
32 bit number stored at 0x204-0x207, and stored the difference at 0x208-0x20B.
E3.11 Write a program to swap the upper 4 bis with the lower 4 bits of every
element of an array of 8-bit integers. The initial array is stored in the program
memory, and you must copy this array to the data memory for testing purpose.
E3.13 Write a program to find the total number of elements in an array of 8-bit
integers that are greater than 30 and less than 100. Use for-loop looping construct.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!