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

Joined: Wed Jun 08, 2016 10:54 am
Posts: 42
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
Profile
User avatar

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

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

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

.code
    start:
            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?
Image
https://discord.gg/qEnk6 Housepets Discord now available!


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 2 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.