试题详情
简答题 设堆栈指针SP中的内容为60H,内部RAM中30H和31H单元的内容分别为24H和10H,执行下列程序段后,61H,62H,30H,31H,DPTR及SP中的内容将有何变化?  PUSH  30H  PUSH  31H  POP   DPL  POP   DPH  MOV  30H,#00H  MOV  31H,#0FFH 
  • P.USH  30H       ;(61H)= (30H) = 24H
    P.USH  31H       ; (62H) = (31H) = 10H
    P.OP   DPL       ; (DPL) = (62H) = 10H
    P.OP   DPH       ; (DPH) =(61H)= 24H
    M.OV  30H,#00H   ; (30H) = 00H
    M.OV  31H,#0FFH  ; (31H) = 0FFH
    程序执行后:(61H)= 24H, (62H) = 10H, (30H) = 00H, (31H) = 0FFH,(DPTR) = 2410H
  • 关注下方微信公众号,在线模考后查看

热门试题