Design an input port using SSI devices(eg. Latches, buffers etc) interface the 8 bit port with 8086 CPU and assign the address 85H to it. Draw the interface diagram and explain. Is it possible to have an output port with the same address? Justify your answer.

also

write an assembly language program to input key strokes from keyboard, check if the key pressed corresponds to a valid ASCII character, add 1 to the ASCII value and then display it on the system video monitor using BIOS interrupt 10h, service 0eh. (hint: Bios interrupt 16h, service 0 reads a key stroke and stores the ascii code (for valid ASCII keys) or 0 (for non-ASCII keys) in AL).
if a non ascii key like a function key is pressed, the program should end and return control to MS-Dos. Otherwise the program should continue to accept key strokes indefinitely.

and

given 4.nos. of 64K X 8 sram chips. Construct an appropriate memory space and interface it with 8086. Draw the interface diagram and explain. What is the size of the momory space and its address space?