Program:
//Set higher four bits of content of the memory location to 1
//The number to be masked is stored in C050
//Answer is stored in C051
LDA C050
ORI F0
STA C051
HLT
Input:
Content of Memory Location C050: 05h
Output:
Content of Memory Location C051: F5h
0 Comments