PHPackages                             shanept/assembly-simulator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. shanept/assembly-simulator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shanept/assembly-simulator
==========================

Allows stepping through compiled assembly code. Provides access to registers and the stack for easy querying of values.

0.1.0(1y ago)026MITPHP

Since May 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/shanept/AssemblySimulator)[ Packagist](https://packagist.org/packages/shanept/assembly-simulator)[ RSS](/packages/shanept-assembly-simulator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

AssemblySimulator
=================

[](#assemblysimulator)

The AssemblySimulator project provides a means to step through compiled assembly code, operation by operation, and provides access to registers and the stack for easy querying of values. The implementation is quite simplistic, we only implement a few basic instructions. However the architecture allows for easy extensibility of the instruction set, to satisfy your project's needs.

The Simulator
-------------

[](#the-simulator)

The simulator may be manually instantiated, or instantiated by the SimulatorFactory. Note that using the SimulatorFactory does not restrict you from registering further instructions after the simulator is created. The following are equivalent:

```
