Hello World

This is the Hello World version in EASM:

mov ecx, [Hello, World!]
int 01h 

Code Explaination

It can look like ASM, but is not really ASM.

  1. EASM is extensible, so every compiler can have more interrupts or mnemonics than another.
  2. EASM have 7 "native" mnemonics: 
    mov
    int
    def
    del
    label
    goto
    join
  3. EASM have also 1 "native" interrupt, for console output: 
    01h
  4. EASM functions can have variables included in 3 ways:
    ; Direct way:
    mov ecx, 1234
    ; Predefined variable:
    mov ecx, {variable}
    ; Inline variable:
    mov ecx, [My Variable] 
    
  5. EASM comments are using ";".

Last edited Aug 9, 2010 at 7:02 PM by MatheusMK3, version 4

Comments

No comments yet.