From 54af8dcf894e6bb3a844aeec200fcbde7e7e95af Mon Sep 17 00:00:00 2001 From: pathoswithin Date: Wed, 2 Dec 2015 15:39:13 +0000 Subject: [PATCH] turn on "movi" git-svn-id: svn://kolibrios.org@5946 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/develop/libraries/msgbox/msgbox.asm | 2 +- programs/macros.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 }