Assembly required, the programming puzzle game.

For playing all sorts of silly I-don't-know-whats

Moderators: Render, ArcWolf

Post Reply
MoonyTheDwarf
Posts: 44
Joined: Wed Jun 08, 2016 10:54 am

Assembly required, the programming puzzle game.

Post by MoonyTheDwarf »

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!'

User avatar
Unusuallynamedperson
Posts: 1093
Joined: Mon Jan 11, 2016 7:24 pm
Location: Well, even I don't know that one.
Contact:

Re: Assembly required, the programming puzzle game.

Post by Unusuallynamedperson »

Code: Select all

.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/2Kwwv Housepets Discord link repaired!

Post Reply