From: Evenbit on 3 Dec 2007 01:08 On Dec 3, 12:10 am, Evenbit <nbaker2...(a)charter.net> wrote: > > ---------------------------------------------- > ;; Time-stamp: <> -*-nasm-*- > ;; helloworld.asm: This program writes the message "hello world" and > exits. > > %include "windows.inc" > > global _main > > section .text > _main: push helloworld > lcall _printf Oops! I believe this needs 'add esp, 4' ... isn't present in Wilhelm's code either. > push 0 > lcall _exit > > section .data > helloworld db "hello world", 10, 0 > Nathan.
From: Spam Killer on 3 Dec 2007 08:10 On Sun, 2 Dec 2007 22:08:03 -0800 (PST), Evenbit wrote: >> section .text >> _main: push helloworld >> lcall _printf > >Oops! I believe this needs 'add esp, 4' ... isn't present in >Wilhelm's code either. > >> push 0 >> lcall _exit >> >> section .data >> helloworld db "hello world", 10, 0 >> I sticked as close as I could to the original code in the examples: ..section .text ..globl _start _start: pushl $helloworld call printf pushl $0 call exit>
From: Terence on 3 Dec 2007 15:20 Herbert, better still here are even some I coudn't solve anyway. HARD BUT SOLVABLE 007000800050020090903000701000408000030000060000705000409000300020080070001000400 200030056007010000001600003840000000002000500000000061500003900000040700370090005 040000065009020300005100000000500030000639000010008090004006700008040100350000040 009700001704800000500060070000300060020000010030009000090030002000008504800001600 020000900400506710300000000003085000000174000000390600000000008085901007006000040 810000200000007800007000014400090008006050900200070001570000300003400000009000026 REALLY DIFFICULT 593006001010050006000700000050000400070804050002000090000008000700030060600100732 000109000006040900800000005070050080215000739030010020700000003001070200000804000 039007000000500201000090070960000000407000503000000019090020000503008000000400120 NOT SURE IF POSSIBLE! 700605009000800030001000004007000205090000080308000700200000600010009000800506007 500200010001900730000000800050020008062039000000004300000000000080467900007300000 000023000004000100050084090001070902093006000000010760000000000800000004060000587 000042059450090008000000000000004080000000703000836002369200001700000000005001600 000000000360000920000010070000000204000036500100025730072809300900000080040000000 600400030000001050410800000040350200000700008002060500900000000730500086004000700 000300805060000030000050267006100002003405700004008000278000900000001000000000600 040080700020000000800030510000208906000009020000500000100000300090406005000050000 005100000600003000300000706000030601009050400802090000401000005000500008000007200 200000007015000020080200006000000064890000000000050910040815000061030000000006400 TBW
From: Mike Jones on 3 Dec 2007 16:23 Terence wrote: > Herbert, better still here are even some I coudn't solve anyway. > > HARD BUT SOLVABLE > 007000800050020090903000701000408000030000060000705000409000300020080070001000400 > 200030056007010000001600003840000000002000500000000061500003900000040700370090005 > 040000065009020300005100000000500030000639000010008090004006700008040100350000040 > 009700001704800000500060070000300060020000010030009000090030002000008504800001600 > 020000900400506710300000000003085000000174000000390600000000008085901007006000040 > 810000200000007800007000014400090008006050900200070001570000300003400000009000026 > REALLY DIFFICULT > 593006001010050006000700000050000400070804050002000090000008000700030060600100732 > 000109000006040900800000005070050080215000739030010020700000003001070200000804000 > 039007000000500201000090070960000000407000503000000019090020000503008000000400120 > NOT SURE IF POSSIBLE! > 700605009000800030001000004007000205090000080308000700200000600010009000800506007 > 500200010001900730000000800050020008062039000000004300000000000080467900007300000 > 000023000004000100050084090001070902093006000000010760000000000800000004060000587 > 000042059450090008000000000000004080000000703000836002369200001700000000005001600 > 000000000360000920000010070000000204000036500100025730072809300900000080040000000 > 600400030000001050410800000040350200000700008002060500900000000730500086004000700 > 000300805060000030000050267006100002003405700004008000278000900000001000000000600 > 040080700020000000800030510000208906000009020000500000100000300090406005000050000 > 005100000600003000300000706000030601009050400802090000401000005000500008000007200 > 200000007015000020080200006000000064890000000000050910040815000061030000000006400 > > TBW I just passed the last 10 to Herbert's Solver and it rattled through them, no problem.
From: Terence on 3 Dec 2007 21:26
My point was to emulate how a human solves SUDOKU puzzles with using exhaustive searches. May Herbert's isn't that kind. I took Herebert's batch file code and cut-and-pasted to Notepad, saved as a batch file and then ran the batch file to make sudo.com Then I ran this with the a1 problem as-is. .. It wouldn't terminate and hung up on "illegal instruction" ..C5:057b IP:058c OP:63 3f 48 3f Any clues? .. |