Skip to content

An Intel x86 assembler, generates opCodes from assembly

License

Notifications You must be signed in to change notification settings

allchords/js-intel-x86-assembler

 
 

Repository files navigation

js-intel-x86-assembler

An Intel x86 assembler, generates opCodes from assembly. SUPPORTS ONLY A LIMITED INSTRUCTION SET

Feel free to contribute!

Usage

Import the Assembler class and call

new Assembler().getMachineCode(instructions: Instruction[])

Interface

interface Instruction {
    label?: string;
    operation: string;
    ptrType?: PtrType;
    operand1?: string;
    operand2?: string;
}

type PtrType = 'byte' | 'word' | 'dword';

About

An Intel x86 assembler, generates opCodes from assembly

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.9%
  • JavaScript 0.1%