diff --git a/programs/develop/libraries/msgbox/msgbox.asm b/programs/develop/libraries/msgbox/msgbox.asm index 64829689af..daafdb9ee6 100644 --- a/programs/develop/libraries/msgbox/msgbox.asm +++ b/programs/develop/libraries/msgbox/msgbox.asm @@ -3,7 +3,7 @@ public EXPORTS section '.flat' code readable align 16 include '../../../macros.inc' -purge mov +macro movi arg1,arg2 {mov arg1,arg2} include 'strlen.inc' MB_FIRST_BUT_ID equ 3 ;идентификатор 1-й кнопки на сообщении diff --git a/programs/macros.inc b/programs/macros.inc index bfa2a1dc0d..eac3ad8aa7 100644 --- a/programs/macros.inc +++ b/programs/macros.inc @@ -272,7 +272,7 @@ macro mpack dest, hsrc, lsrc mov dest, (hsrc) shl 16 add dest, lsrc else - mov dest, hsrc + movi dest, hsrc shl dest, 16 add dest, lsrc end if @@ -283,7 +283,7 @@ macro __mov reg,a,b { ; mike.dld if (~a eq)&(~b eq) mpack reg,a,b else if (~a eq)&(b eq) - mov reg,a + movi reg,a end if }