A short assembly macro-processor script to simulate the process and show the different stages

Overview

🎨 Macro-Processor

A short assembly macro-processor script to simulate the process and show the different stages

📝 Note

  1. This script now supports nested Macro's
  2. In case you don't want to specify output file a new one will be made on your desktop
  3. In case your desktop is not found a new folder will be created in your user home directory and a output file will be made there

🧧 Java Version < 11 peeps 🧧

Run this command first in the same directory where the downloaded file is being kept.

javac MacroProcessor.java

To run the code make of use these commands.

Note in case of missing parameters, default ones will be selected.

Here "inputfile.txt" is the path and file name of file which contains the assembly code.

Also "outputfile.txt" is the path and file name of your custom output file.

If the output file specified by you, has not been created, the code will handle it.

java MacroProcessor "inputFile.txt" "outputFile.txt"

In case where no output parameter is specified, the code will create one named "macroProcessor_output.txt" on your desktop.

java MacroProcessor "inputFile.txt"

In case where no parameters are provided the code will scan for a file named "scan_for_macro.txt" on your desktop.

java MacroProcessor

Java Version > 11 peeps

Run the code directly using these commands

Note in case of missing parameters, default ones will be selected.

Here "inputfile.txt" is the path and file name of file which contains the assembly code.

Also "outputfile.txt" is the path and file name of your custom output file.

If the output file specified by you, has not been created, the code will handle it.

java MacroProcessor.java "inputFile.txt" "outputFile.txt"

In case where no output parameter is specified, the code will create one named "macroProcessor_output.txt" on your desktop.

java MacroProcessor.java "inputFile.txt"

In case where no parameters are provided, the code will scan for a file named "scan_for_macro.txt" on your desktop.

java MacroProcessor.java
You might also like...

A Java to iOS Objective-C translation tool and runtime.

J2ObjC: Java to Objective-C Translator and Runtime Project site: https://j2objc.org J2ObjC blog: https://j2objc.blogspot.com Questions and discussion:

Dec 29, 2022

Make Slack and Facebook Bots in Java.

Make Slack and Facebook Bots in Java.

JBot Make bots in Java. JBot is a java framework (inspired by Howdyai's Botkit) to make Slack and Facebook bots in minutes. It provides all the boiler

Dec 18, 2022

API gateway for REST and SOAP written in Java.

Membrane Service Proxy Reverse HTTP proxy (framework) written in Java, that can be used as an API gateway as a security proxy for HTTP based integrati

Dec 31, 2022

An extensible Java framework for building XML and non-XML streaming applications

Smooks Framework This is the Git source code repository for the Smooks Project. Build Status Building Pre-requisites JDK 8 Apache Maven 3.2.x Maven gi

Dec 1, 2022

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts

yGuard yGuard is an open-source Java obfuscation tool. With yGuard it is easy as pie ( 🍰 ) to configure obfuscation through an extensive ant task. yG

Jan 2, 2023

TChart Simple and fast charts

TChart Simple and fast charts

TChart Simple and fast charts. Current version Beta 0.9.1 Preview Import jitpack.io gradle allprojects

Sep 20, 2022

ThirdEye is an integrated tool for realtime monitoring of time series and interactive root-cause analysis.

ThirdEye is an integrated tool for realtime monitoring of time series and interactive root-cause analysis. It enables anyone inside an organization to collaborate on effective identification and analysis of deviations in business and system metrics. ThirdEye supports the entire workflow from anomaly detection, over root-cause analysis, to issue resolution and post-mortem reporting.

Oct 17, 2022

A lightweight staff chat plugin for BungeeCord and Spigot.

A lightweight staff chat plugin for BungeeCord and Spigot with 2-way Discord chat support and many other great features.

Mar 30, 2022

Masterful Machinery is a mod about creating customisable and complex multiblocks machines.

 Masterful Machinery is a mod about creating customisable and complex multiblocks machines.

Masterful Machinery Masterful Machinery is a mod about creating customisable and complex multiblocks machines. Everything in the mod is customisable w

Nov 12, 2022
Owner
Neopentene
Neopentene
FundurASM - A Assembly-like language interpreter

FundurASM - A Assembly-like language interpreter This interpreter was written by LordBurtz Licensed under GPLv2, all rights reserved Running it Downlo

null 2 Jan 31, 2022
bilibili-coin-show hand ,自动参与哔哩哔哩游戏赛事预测,赚取硬币,B站游戏竞猜,赚硬币。

个利用 Linux Crontab , GitHub Action 等方式实现哔哩哔哩(Bilibili)赛事预测的工具,用于每日赚取硬币

Junzhou Liu 173 Sep 28, 2021
An MIT AI2 extension to allows developers to show media style notifications for their applications.

Media Notifications An MIT AI2 extension to allows developers to show media style notifications for their applications.

Shreyash Saitwal 5 Jan 7, 2023
A tool to help Barcelonian people get various immigration-related appointments via the Cita previa process

NIEBot A tool to help Barcelonian people get various immigration-related appointments via the Cita previa process. Requirements A Windows or Linux PC.

Conor Rynne 49 Dec 10, 2022
Sauron, the all seeing eye! It is a service to generate automated reports and track migrations, changes and dependency versions for backend services also report on known CVE and security issues.

SAURON - VERSION AND DEPLOYMENT TRACKER DESCRIPTION Sauron, the all seeing eye! It is a service to generate automated reports and track migrations, ch

FREENOWTech 20 Oct 31, 2022
A calculator that performs various operations such as addition, subtraction, multiplication and division of positive and negative values

A calculator that performs various operations such as addition, subtraction, multiplication and division of positive and negative values The calculator also does percentages, square roots and squares

Andrey Fabricio 1 Jan 31, 2022
A Local implementation of a java library functions to create a serverside and clientside application which will communicate over TCP using given port and ip address.

A Local implementation of java library functions to create a serverside and clientside application which will communicate over TCP using given port and ip address.

Isaac Barry 1 Feb 12, 2022
Tripoli imports raw mass spectrometer data files and supports interactive review and archiving of isotopic data.

Tripoli imports raw mass spectrometer data files and supports interactive review and archiving of isotopic data. Tripoli facilitates visualization of temporal trends and scatter during measurement, statistically rigorous filtering of data, and calculation of statistical parameters.

CIRDLES 7 Dec 15, 2022
Java Notes & Codes for better understanding and it contains all the funtions with examples and also added Cheat Sheet for Revision

Java Notes & Codes for better understanding and it contains all the funtions with examples and also added Cheat Sheet for Revision...

Ujjawal Singh 1 Nov 30, 2022
Automatically discover and tag PII data across BigQuery tables and apply column-level access controls based on confidentiality level.

Automatically discover and tag PII data across BigQuery tables and apply column-level access controls based on confidentiality level.

Google Cloud Platform 18 Dec 29, 2022