News:

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

Sudoku_Solver [help!]

Started by jenxin, November 29, 2011, 09:03:18 PM

Previous topic - Next topic

clive

Indeed but if someone purposefully tests something at the worst end of the search space it would come as a surprise. I assumed the prof pointed at that one as an example, and I picture him falling off his chair after he just pasted and ran some code expecting it to take a few minutes.

BTS (sets a bit, if it was already set, carry is set)
JC (jump if carry set)
MOVZX (move with zero extend, generally I prefer to use 32-bit registers, most of the out-of-order/scheduling features in the CPU prefer not to use 8 to 16-bit register decomposition)

No I rarely use notepad, other than as a paste bin. My text editors of choice come from SemWare, configured for archaic WordStar key strokes, and typically compile from the command line with batch or make files. http://www.semware.com/

Under Linux, usually pico or nano.

For code analysis, and as a preferred IDE, I typically use "Understand C++". http://www.scitools.com/

For merging, WinMerge is the easiest to download from anywhere, although I do prefer AraxisMerge. Merge tools can save you lots of time, either pulling code between applications, or comparing/contrasting code changes between things that worked or not, or things other people throw at you. http://winmerge.org/  http://www.araxis.com/merge/

IDE's, I use what I have to, but the screen real estate tends to be eaten by clutter. I'm used to seeing 50-60 lines of code, not 20. I work mostly in the embedded space, with tools from Keil, IAR, MS VisualStudio/PlatformBuilder, and others I write myself. The IDE's are mainly use for the integrated debugging they provide, rather than their less than stellar editors.
It could be a random act of randomness. Those happen a lot as well.

jj2007

Hi jenxin,

Here is a version that runs with the standard Masm32 installation plus a tiny archive posted here.

:U