Question:
1.In a typical IBM personal computer compatible the contents of a memory location can be assembled from BASIC using the PEEK function while data could be written to a memory location using the POKE command.It is desired to test the integrity (PASS/FAILURE)of the first 32K memory locations in a microcomputer.Assuming BASIC(program) is loaded in high memory(above 32K)in the microcomputer map of memory,write a BASIC program to test the integrity of each 8-bit location
2.In typical IBM personal computer compatible microcomputer,peripheral devices are addressed as to their memory locations via BASIC program using the INP function to read data from an 8-bit location.If a certain microcomputer is comfigured such that it's printer status port is located atperipheral decimal address 888(Hex379), write a BASIC program to continously scan the printer status port liners for any change in bit information and display the bit number that has undergone a change from it's previous state.
Answer:
PEEK read a 8bit value from any memory address
integer_variable = PEEK(address)
POKE write a 8bit value to a memory address (not all addresses may be written!)
POKE address, value
i don't see any question :-|
More Questions & Answers...
What skills are learned in banking that can apply in project managemnt?
Candidates must have 2+ years experience on a system integration project. Demonstrated experience delivering r
Where could i find a job related in project management and airport operation?
Where can I find clients and employees for my business?
What is meaning of six sigma? in total quality management ? and why they name it?
Explain the effect of industrial revolution on the modern human resources management?
How do engineers test their prototypes and ideas from CAD drawings?
Can I make it in Los Angeles?