• Advertisement

Reply to topic  [ 2 posts ] 
Assembly required, the programming puzzle game. 
Author Message

Joined: Wed Jun 08, 2016 10:54 am
Posts: 44
Post Assembly required, the programming puzzle game.
Assembly required is s programming puzzle game, the language used is called assembly, it is the lowest level human readable programming language. This game is about solving puzzles and learning at the same time.
A good assitant to what variation of assembly im using is http://www.cs.virginia.edu/~evans/cs216/guides/x86.html
Oh course, you also have the standard C library. For now, just prepend any function with a _
All arguments are values on the stack.
First puzzle!
Really simple, print 'hello, world!'

Fri Jul 29, 2016 11:57 pm
User avatar

Joined: Mon Jan 11, 2016 7:24 pm
Posts: 1092
Location: Well, even I don't know that one.
Post Re: Assembly required, the programming puzzle game.
.model flat, stdcall
option casemap: none

include windows.inc
include user32.inc
include kernel32.inc
includelib user32.lib
includelib kernel32.lib

    szCaption   db  'Hello', 4
    szText      db  'Hello, World!', 4

            invoke MessageBox, NULL, offset szText, offset szCaption, MB_OK
            invoke ExitProcess, NULL       
    end start

Boom! Done :P yeah I try to avoid assembly if possible.

If I hit someone with a dictionary is that physical, or verbal assault?
https://discord.gg/2Kwwv Housepets Discord link repaired!

Thu Aug 18, 2016 11:13 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.