Click here to Skip to main content
15,900,258 members
Home / Discussions / Algorithms
   

Algorithms

 
QuestionRe: Merging sorted data blocks. Pin
musefan15-Feb-11 6:22
musefan15-Feb-11 6:22 
AnswerRe: Merging sorted data blocks. Pin
Member 419459315-Feb-11 7:02
Member 419459315-Feb-11 7:02 
AnswerRe: Merging sorted data blocks. Pin
Eddy Vluggen17-Feb-11 7:47
professionalEddy Vluggen17-Feb-11 7:47 
GeneralRe: Merging sorted data blocks. Pin
Member 419459317-Feb-11 15:16
Member 419459317-Feb-11 15:16 
GeneralRe: Merging sorted data blocks. Pin
Eddy Vluggen18-Feb-11 11:29
professionalEddy Vluggen18-Feb-11 11:29 
GeneralRe: Merging sorted data blocks. Pin
Member 419459319-Feb-11 16:15
Member 419459319-Feb-11 16:15 
GeneralRe: Merging sorted data blocks. Pin
Eddy Vluggen20-Feb-11 1:29
professionalEddy Vluggen20-Feb-11 1:29 
GeneralRe: Merging sorted data blocks. Pin
Member 419459322-Feb-11 12:11
Member 419459322-Feb-11 12:11 
Eddy,

1) My program is a console app.
2) It is totally MASM (except API calls for I/O).
3) It honors the Intel ABI, but in addition it saves and restores all registers around calls and saves flags around all API calls.
4) It uses mainly register calling sequences, not calling arguments (I think that is correct - from my ancient Fortran AutoCoder, "Parameters" are what you expect, "Argument" are what you get).
5) It returns no values, only zero or non-zero flags - any returned values are saved in fixed locations.
6) It uses no call stack frame - ebp is used as a general purpose register.
7) It has tons of commentary to explain What I did so I can pick up the program 20 years from now and understand Why I did what I did.
8) It uses many levels of conditional assembly to do validations and/or timing displays, not checking option flags and branching around unused code - the unused code is not even assembled.
9) There are conditional code segments in the RedBlackTree implementation to validate correctness and to display the tree structure (a short 31 element tree build).
10) The conditional code snipits save and restore any used registers to prevent any side effects.
11) It does not use anonymous symbols, instead, it uses lots of meaningful long labels everywhere, including places where a label is not needed but separates code groups.
12) Need I say more.

Nobody will like it here.

Dave.
QuestionIn what mathematical/programming tasks are used sparse graphs? Pin
Marsellos5-Feb-11 3:06
Marsellos5-Feb-11 3:06 
AnswerRe: In what mathematical/programming tasks are used sparse graphs? Pin
Alan Balkany7-Feb-11 4:35
Alan Balkany7-Feb-11 4:35 
AnswerRe: In what mathematical/programming tasks are used sparse graphs? Pin
dasblinkenlight7-Feb-11 6:30
dasblinkenlight7-Feb-11 6:30 
QuestionMotion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB7-Jan-11 0:59
GDMFSOB7-Jan-11 0:59 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
Alan Balkany7-Jan-11 4:04
Alan Balkany7-Jan-11 4:04 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:29
GDMFSOB9-Jan-11 19:29 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed PinPopular
Roger Wright7-Jan-11 11:01
professionalRoger Wright7-Jan-11 11:01 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:25
GDMFSOB9-Jan-11 19:25 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
Keith Barrow8-Jan-11 3:04
professionalKeith Barrow8-Jan-11 3:04 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB9-Jan-11 19:34
GDMFSOB9-Jan-11 19:34 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
Member 1258471814-Jun-16 23:06
Member 1258471814-Jun-16 23:06 
AnswerRe: Motion tracking algorythm from Pan and tilt video feed Pin
jk chan14-Jan-11 4:36
jk chan14-Jan-11 4:36 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB16-Jan-11 23:54
GDMFSOB16-Jan-11 23:54 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
jk chan17-Jan-11 2:28
jk chan17-Jan-11 2:28 
GeneralRe: Motion tracking algorythm from Pan and tilt video feed Pin
GDMFSOB17-Jan-11 2:39
GDMFSOB17-Jan-11 2:39 
AnswerRe: InstallShield Pin
Peter_in_27806-Jan-11 19:07
professionalPeter_in_27806-Jan-11 19:07 
GeneralRe: InstallShield Pin
lucky_12216-Jan-11 22:30
lucky_12216-Jan-11 22:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.