??? 03/02/05 17:14 Read: times |
#88895 - what happens... Responding to: ???'s previous message |
what happens to mov sp,#44.
MOV SPH,#01 MOV SP,#44 MOV 43,#10 POP ACC A isn't 10 but whatever SP happened to be in cell 43 of "page 1" of Stack memory. MOV SPH,#00 and SP behaves just the same as normal. what happens to PUSH/POP speed Nothing. Stack bank selection happens at MOV SPH time. Increasing/decreasing it across page borders would take negligibly little time. not to mention what happens to mov r1,sp Nothing. SPH=0 - same as always, SPH>0, current page address is being used. MOV r1h,sph if you want to synchronize both. mov a,@r1 Nothing special. ACC gets loaded with value pointed by [R1h.R1], with R1h=0 with value from current memory. What I'm worried about is what would happen to SETB PSW.3, would the upper bits need to be repeated 4 times? |