.386
.model flat,stdcall
option casemap:none
include windows.inc
include kernel32.inc
include user32.inc
include masm32.inc
includelib kernel32.lib
includelib user32.lib
includelib masm32.lib
include io_file.asm
.const
.data
szBuffer db MAX_PATH dup(0)
.code
main:
invoke io_open, _str('TestFile.txt'), access_write, 0
invoke io_write, _str('This is a test.'), 15
invoke io_close
invoke StdIn, addr szBuffer, MAX_PATH
invoke ExitProcess, 0
ret
end main
[MASM] - Small Vector 'Class' 01/30/2014 - Coding Snippets - 0 Replies Hey,
ich brauchte eine Art Vector-Class in MASM für das Handling von Struct-Arrays usw. ( allgemein ist es dann handlicher meiner Meinung nach ), also hab ich mich entschlossen eine Klasse zu schreiben bzw. eine ASM-Datei.
hier ist erstmal der code von Vector.asm:
;===================================;
;= Vector Class =;
;= Author: Ten$ion =;
;= Date: 01/30/2014 =;
;= Language: MASM =;
[MASM] - MD5 12/29/2013 - Coding Snippets - 2 Replies Hi,
Da ich eine MD5 - Funktion in MASM brauche die nicht alt zu groß ist, hab ich beschlossen sie selbst zu Implementieren ( Quelle ist im Source angegeben ).
Ich habe ein Beispiel mit in den Anhang gepackt ( Passwort: epvp_tension ).
Code:
;====================================;
;= Message Digest Algorithm =;
;= MASM implementation =;
;= by Ten$ion =;
Assembler NASM oder MASM? 07/21/2012 - General Coding - 8 Replies Guten Tag,
da ich mich in der nächsten Zeit mit der Programmierung von Assembler auseinander setzen möchte, und dass auf x84 und x64 bit Versionen, habe ich folgende Frage an die ASM Coder.
Womit soll ich Arbeiten, MASM oder NASM oder ganz etwas anderes?
Ich hab schon gelesen, dass nur NASM über x64 Können verfügt, stimmt das so?
Hilfe wäre nett..
Greetz
NASM, FASM & MASM 11/12/2011 - CO2 Programming - 11 Replies Alright, which one would be best to learn?
Atm. I have been learning NASM, but I don't know if it's any better or worse than FASM or MASM.
I have heard from some assembly programmers that I should just not use MASM.
Opinions?
Call COs jump function in masm? 10/28/2006 - Conquer Online 2 - 0 Replies well i followed the tutorial on how to do this but it didnt give a very good masm example. how would i call the function in masm? does anyone have a good example or code? i have a bunch of other functions to use for hacks but i need to get this done first. im new to masm so i dont really know wat to do. i know how to call functions that dont have variables in other games but no clue when it comes to variables (x and y for jumping.)
thanks, high6.
p.s. here is the jump function location...