streamich / Ass Js
Licence: unlicense
Assembler.js — X86_64 and Ethereum
Stars: ✭ 115
Programming Languages
typescript
32286 projects
assembler
53 projects
Projects that are alternatives of or similar to Ass Js
Cyjon
A simple, clean code, multi-tasking operating system written in pure assembly language for 64-bit processors from the AMD64 family.
Stars: ✭ 184 (+60%)
Mutual labels: x86-64, asm
Willos
💾 A minimal kernel (just a hobby, won't be big and professional). // Work In Progress
Stars: ✭ 163 (+41.74%)
Mutual labels: x86-64, asm
xorpd-solutions
[SPOILER ALERT] My attempt at tackling the x86_64 asm riddles in xorpd's xchg rax,rax book. Pull requests welcome.
Stars: ✭ 57 (-50.43%)
Mutual labels: x86-64, asm
The holy book of x86
A simple guide to x86 architecture, assembly, memory management, paging, segmentation, SMM, BIOS....
Stars: ✭ 577 (+401.74%)
Mutual labels: x86-64, asm
Asm Cli
Interactive shell of assembly language(X86/X64) based on unicorn and keystone
Stars: ✭ 211 (+83.48%)
Mutual labels: x86-64, asm
ArvernOS
💾 A minimal, experimental and "toy" monolithic kernel to learn about OS development // Work In Progress
Stars: ✭ 313 (+172.17%)
Mutual labels: x86-64, asm
Capstone
Capstone disassembly/disassembler framework: Core (Arm, Arm64, BPF, EVM, M68K, M680X, MOS65xx, Mips, PPC, RISCV, Sparc, SystemZ, TMS320C64x, Web Assembly, X86, X86_64, XCore) + bindings.
Stars: ✭ 5,374 (+4573.04%)
Mutual labels: ethereum, x86-64
Rappel
A linux-based assembly REPL for x86, amd64, armv7, and armv8
Stars: ✭ 818 (+611.3%)
Mutual labels: x86-64, asm
Awesome Crowdsales
A curated list of ICO repositories that produced ERC20/ERC223 tokens
Stars: ✭ 113 (-1.74%)
Mutual labels: ethereum
Awesome Solidity
A curated list of awesome Solidity resources
Stars: ✭ 111 (-3.48%)
Mutual labels: ethereum
Audit Checklist
A Solidity smart contract auditing checklist
Stars: ✭ 113 (-1.74%)
Mutual labels: ethereum
Geth Dev
A Docker Image to create a set of mining, local Ethereum nodes for development
Stars: ✭ 109 (-5.22%)
Mutual labels: ethereum
Bokkypoobahsdatetimelibrary
Gas-Efficient Solidity DateTime Library
Stars: ✭ 111 (-3.48%)
Mutual labels: ethereum
Assembler.js
(‿*‿) Assembler implemented in JavaScript:
- Pluggable design
- X64 and Ethereum assembler
- See supported X64 mnemonics
- Standalone, use it in browser or Node.js
Install
npm i ass-js
Getting Started
Store 0xBABE
in RAX
register
import {X64} from 'ass-js';
const asm = X64();
asm._('mov', ['rax', 0xBABE]);
Compile to machine code
console.log(code.compile()); // <Buffer 48 c7 c0 be ba 00 00>
Show text representation
console.log(String(code));
// 000 main:
// 001 movq rax, 0x0000BABE ; 000000|000000 0x48, 0xC7, 0xC0, 0xBE, 0xBA, 0x00, 0x00 7 bytes
Use templates
const template = _ => {
_('mov', ['rdx', 0xC001]);
_('mov', ['rax', 0xBABE]);
};
asm.code(template);
Docs
-
Plugins
- X64
- Ethereum
- Data
-
d*
- add binary data -
res*
- add uninitialized data -
incbin
- include binary file
-
- Util
-
label
- insert a label usinglabel
andlbl
-
align
- align code to some factor boundary
-
- Reference
Asm
Expression
Compilation
- Examples
License
Unlicense — public domain.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].