From: <jt...@us...> - 2007-05-05 21:29:24
|
Revision: 260 http://ro-oslib.svn.sourceforge.net/ro-oslib/?rev=260&view=rev Author: jtytgat Date: 2007-05-05 14:29:20 -0700 (Sat, 05 May 2007) Log Message: ----------- - Macro.h/Macro.Hdr: the macro Bool didn't write its result to first parameter but modified the 2nd one. (20070505-1, John Tytgat) Modified Paths: -------------- branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.AOFHdr branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr branches/simplified-build/!OsLib/docs/ChangeLog Modified: branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.AOFHdr =================================================================== --- branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.AOFHdr 2007-05-01 19:33:15 UTC (rev 259) +++ branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.AOFHdr 2007-05-05 21:29:20 UTC (rev 260) @@ -3,7 +3,7 @@ ;OSLib---efficient, type-safe, transparent, extensible, ; register-safe A P I coverage of RISC O S -;Copyright \xA9 1994 Jonathan Coxhead +;Copyright � 1994 Jonathan Coxhead ; OSLib is free software; you can redistribute it and/or modify ;it under the terms of the GNU General Public License as published by @@ -103,9 +103,8 @@ MACRO $label Bool $r1, $r2 ;r1 = BOOL (r2) -$label TEQ $r2, #0 - MOVNE $r2, #True - MOVEQ $r2, #False +$label MOVS $r1, $r2 ; Assuming False == 0 + MOVNE $r1, #True MEND MACRO Modified: branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr =================================================================== --- branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr 2007-05-01 19:33:15 UTC (rev 259) +++ branches/simplified-build/!OsLib/Source/Macros/oslib/Macros.ELFHdr 2007-05-05 21:29:20 UTC (rev 260) @@ -95,9 +95,8 @@ @ r1 = BOOL (r2) .macro Bool r1, r2 - TEQ \r2, #0 - MOVNE \r2, #True - MOVEQ \r2, #False + MOVS \r1, \r2 @ Assuming False == 0 + MOVNE \r1, #True .endm @ r1 = INT (r2) Modified: branches/simplified-build/!OsLib/docs/ChangeLog =================================================================== --- branches/simplified-build/!OsLib/docs/ChangeLog 2007-05-01 19:33:15 UTC (rev 259) +++ branches/simplified-build/!OsLib/docs/ChangeLog 2007-05-05 21:29:20 UTC (rev 260) @@ -5,6 +5,9 @@ OSLib 7.00 - In development ---------- +* Bug Fixes: + - Macro.h/Macro.Hdr: the macro Bool didn't write its result to first + parameter but modified the 2nd one. (20070505-1, John Tytgat) * Build Environment - OSLib sources are now on sourceforge.net SVN managed i.s.o. CVS. (20070414-1, John Tytgat) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |