Сунулся в первое попавшееся место. В чём преимущество такого варианта
перед такимКод:PPSEN: mov #PPMSG, R0 ; array address mov #5, R1 ; bytes to send+1 (sending from @#PP_MSG) br 1$ 2$: movb (R0)+, @#176676 1$: tstb @#176674 ; test if we are ready to send bpl 1$ ; cycle if >= 0 (not set last bit in byte) sob R1, 2$ return
??Код:PPSEN: mov #PPMSG, R0 ; array address mov #4, R1 ; bytes to send (sending from @#PP_MSG) 1$: tstb @#176674 ; test if we are ready to send bpl 1$ ; cycle if >= 0 (not set last bit in byte) movb (R0)+, @#176676 sob R1, 1$ return




Ответить с цитированием