Write an ALP(Assembly Language Program) program to select Memory Bank2 and perform addition operation Over there.
cseg at 0 //code segment starting memory address at 0
mov a,#55h //Hex 55 will be moved into accumulator add a,#65h //accumulated value will be added with hex 65 and result will be stored in accumulator setb psw.4 // 4th bit of program status word will be set clr psw.3 // 3rd bit of program status word will be cleared mov r4,a // finally acculator result will be stored in register r4 end
