Skip to content

Instantly share code, notes, and snippets.

@tgaldi
tgaldi / move.cpp
Last active March 3, 2023 22:44
part1 - mov instruction
#include <stdio.h>
#include <stdlib.h>
#include <bitset>
#include <iostream>
void execute( char, char );
const char getbits( char, int, int );
const char* opLookup( const char );
const char* registerLookup( const char, const char );
const char* displacementLookup( const char, const char, const char );