Giter Site home page Giter Site logo

j0ruge / compiladores Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 19.14 MB

Trabalhos realizados durantre o período de Compiladores da Universidade Veiga de Almeida pelo professor Miguel Ângelo

C 96.89% Assembly 0.02% Batchfile 0.16% Lex 0.42% Yacc 2.52%

compiladores's Introduction

Compiladores

Trabalhos realizados durantre o período de Compiladores da Universidade Veiga de Almeida para professor Miguel Ângelo

Exemplo de saída do Interpretador ISA, vulgo 🐀 Gabirunner 2.0 ®

 -================================================================-
  |                                                              |
  |      Welcome to Gabirunner 2.0 ®                             |
  |      By 3L ChewieSoft Inc. T                                 |
  |      Copyright 2022 - Compiladores                           |
  |      Powered by Prof. Miguel Ângelo Zaccur de Figueiredo     |
  |                                                              |
 -================================================================-

                          BEFORE EXECUTION - MEMORY DUMP
-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-

Running file memory.bin

0000000000: 00000100 00000101 00000111 00111111 00000101 00001010 00000101 00111110
0X00000008: 00000110 00000000 00000111 00000001 00000010 00111101 00000000 00000111
0X00000010: 00001011 00111100 00000001 00000101 00001001 00111011 00000010 00000101
0X00000018: 00001001 00111010 00001100 00000000 00000000 00000000 00000000 00000000
0X00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000028: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000030: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000038: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

                          AFTER EXECUTION - MEMORY DUMP
-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-_-=-

0000000000: 00000100 00000101 00000111 00111111 00000101 00001010 00000101 00111110
0X00000008: 00000110 00000001 00000111 00000001 00000010 00111101 00000000 00000111
0X00000010: 00001011 00111100 00000001 00000101 00001001 00111011 00000010 00000101
0X00000018: 00001001 00111010 00001100 00000000 00000000 00000000 00000000 00000000
0X00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000028: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000030: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0X00000038: 00000000 00000000 00001100 00001101 00000011 00000001 00000101 00001100


Operações disponíveis

MNEMONIC OPCODES DECRIPTION
AND 0000 Instrução A AND B.
OR 0001 Instrução A OR B.
XOR 0010 Instrução A XOR B.
ADD 1000 Instrução soma A e B
SUB 0101 Instrução subtração A e B
INC 0110 Instrução para incremento de X
SLT 0111 Instrução A menor que B? (SLT - Set on Less Than).
HALT 1100 Instrução que desliga o processador

compiladores's People

Contributors

j0ruge avatar

Watchers

 avatar Luiz Leonardo avatar

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.