/*
* This file is part of the ReonV distribution (https://github.com/lcbcFoo/ReonV).
* Copyright (c) 2018 to Lucas C. B. Castro.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
/* Author: Lucas C. B. Castro
* Description: Reads a binary file and converts its content to readable
* hexadecimal
*/
#include
#include
int main(int argc, char** argv){
char word;
char res[8];
uint8_t i = 0;
FILE* input;
FILE* output;
if(argc != 3){
printf("Usage: ./