Use the nine PAL instructions listed below to solve the problems:
MOV A,num
MOV A,[addr]
MOV [addr], A
MOV B,A
MOV A,B
OR A,B
NOT A
GO addr
*Provide the answer in the following format:
Code Memory Contents of Code Address Instruction
Address Memory Address
0000h 3Dh mov a,01h
0001h 01h
0002h 3Fh mov [1000h],a
0003h 00h
PROBLEMS:
1. Clear (place 0's) in all memory locations from 2000h to 200Ah.
2. Make every odd bit (bit 1,3,5 and 7) in memory addresses C000h and D000h a 0. Do not change any other bit at each address.