Git Product home page Git Product logo

Hey, I'm Alex and I like making programming languages.

bits 32
global _start

_start:
  ; 14 - 8
  movq mm0, [a]
  paddb mm0, [b]
  movq [a], mm0

  ; = 6   - 4
  movq mm0, [a + 8]
  paddb mm0, [b + 8]
  movq [a + 8], mm0

  xor eax, eax
  mov al, 0x4
  xor ebx, ebx
  inc ebx
  mov ecx, a
  xor edx, edx
  mov dl, 14
  int 0x80

  xor eax, eax
  inc eax
  xor ebx, ebx
  int 0x80

section .data

a:
  db 36,55,22,16,30,10,59,16,10,50,50,60,10,5,0,0
b:
  db 36,50,22,16,43,29,50,16,87,58,51,60,23,5,0,0

(assembles with NASM and runs on Pentium MMX or better x86 machines with Linux)

Links:

alex_s168's Projects

alex_s168 doesnโ€™t have any public repositories yet.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.