News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Is Negative

Started by herge, May 20, 2008, 02:04:45 PM

Previous topic - Next topic

MichaelW

My tests were using data that alternated randomly between positive and negative, on the assumption that this would make the jumps unpredictable, and if there was a difference it was too small to measure. Since conditional jumps, including unpredictable ones, are so common in code, it seems plausible that the processors would have been designed to run such code as efficiently as possible.
eschew obfuscation

herge

 Hi All:


FOR mac,<abs0,abs1,abs2,abs3,abs4,abs5,abs6,abs7,abs8,abs9,abs10,abs11,crtabs>


I am having trouble finding where mac is defined.
Must admit I can't find it?

thanks in advance.
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

hutch--

MAC is defined in the statement starting with,


FOR mac
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

MichaelW

See FOR Loops and Variable-Length Parameters, about half way down the page here. I keep a copy of this page on my desktop.
eschew obfuscation

herge


Hi MichaelW:

Thanks.
// Herge born  Brussels, Belgium May 22, 1907
// Died March 3, 1983
// Cartoonist of Tintin and Snowy

Don57

How about using TEST and jumping on the flags