programa10.doc
TRANSCRIPT
Microprocessor 8085 Appendix A Explanation :Let the8bitnumberbeinthe A register. Wehavetomasktheuppernibblei.e. wehavetoseparate the upper nibble. In the result only LSB number should be present. e.g. : AL = !". #$$# #$$$Logi%ally A&' with #(" #### $$$$#### #$$$ = #!")esult = #! "*is masked.Store the result. Algorithm :Step I :Load the number in A.Step II: +ask the upper nibble.Step III:Store the result in register B.Step IV : Stop. Flowchart : )e,er ,low%hart $-.Flowchart 12 Program :Instruction CommentsANI0F H ; Logically AND the number MOVB, A ; Store the reult!HL" ; "erminate the e#ecution