Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: South40

My hero. He used to own a house just down the road from me, but I never got a glimpse of him.....too bad.


13 posted on 03/10/2008 8:22:59 PM PDT by Not just another dumb blonde
[ Post Reply | Private Reply | To 1 | View Replies ]


To: Not just another dumb blonde

Compile this. Chuck ain’t all that. He backed a loser and so is a loser.

.386
.model flat, stdcall
option casemap :none ; case sensitive
include \masm32\include\windows.inc

include \masm32\include\user32.inc
include \masm32\include\kernel32.inc
include \masm32\include\masm32.inc

includelib \masm32\lib\user32.lib
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\masm32.lib

print MACRO Quoted_Text:VARARG
LOCAL Txt
.data
Txt db Quoted_Text,0
.code
invoke StdOut,ADDR Txt
ENDM

input MACRO Quoted_Prompt_Text:VARARG
LOCAL Txt
LOCAL Buffer
.data
Txt db Quoted_Prompt_Text,0
Buffer db 128 dup(?)
.code
invoke StdOut,ADDR Txt
invoke StdIn,ADDR Buffer,LENGTHOF Buffer
mov eax, offset Buffer
ENDM

cls MACRO
invoke ClearScreen
ENDM

Main PROTO

.data
Msg1 db “Huckabee was, is and will for all times be a moron > “,0
Msg2 db “Low Life Trailer Park Trash > “,0
.code

start:
invoke Main
invoke ExitProcess,0

Main proc

LOCAL InputBuffer[128]:BYTE
cls
print “Huckabee was, is and will for all times be a moron”,13,10,13,10

input “Type Amen Please > “
invoke StdOut,eax

invoke locate,10,10
invoke StdOut,ADDR Msg1
invoke StdIn,ADDR InputBuffer,LENGTHOF InputBuffer

invoke locate,10,11
invoke StdOut,ADDR Msg2
invoke StdOut,ADDR InputBuffer

ret

Main endp

end start


47 posted on 03/10/2008 9:49:03 PM PDT by LesbianThespianGymnasticMidget (Si Hoc Legere Scis Nimium Eruditionis Habes)
[ Post Reply | Private Reply | To 13 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson