Banker's Algorithm Simulator - Online Deadlock Avoidance
Set up resources and processes and run the Banker's algorithm to check for safe states. Classic OS deadlock avoidance demo.
UD5 Toolkit
Educational tool demonstrating the two-pass assembly process for the Simplified Instructional Computer (SIC/XE) architecture.
| # | LOCCTR | Source Statement | Object Code |
|---|---|---|---|
| Enter code and click Assemble to see results | |||
| Symbol | Address (Hex) | Type / Flags | Defined On Line |
|---|---|---|---|
| Run Pass 1 to populate the symbol table | |||
Run Pass 2 to generate object code records
Assembly log will appear here
Scans source, builds symbol table, tracks location counter, handles directives.
Generates object code, resolves symbols, computes displacements.
Immediate (#), Indirect (@), Indexed (,X), PC-relative, Base-relative.
Format 1/2/3/4 instructions, 1MB addressing, 9 registers.
displacement = target_address - (current_PC), where current_PC = instruction_address + 3 (for Format 3). The displacement is a 12-bit signed value (range: -2048 to +2047). The assembler automatically selects PC-relative mode when the target is within range, setting the p flag to 1 in the instruction encoding.
+ in assembly.
BYTE C'HELLO' stores 5 ASCII bytes). WORD reserves a 3-byte word with an initial value (e.g., WORD 100). RESB reserves a specified number of bytes without initialization (e.g., RESB 10 reserves 10 bytes). RESW reserves a specified number of 3-byte words (e.g., RESW 5 reserves 15 bytes). RESB/RESW are typically used for variables and buffer space.
Set up resources and processes and run the Banker's algorithm to check for safe states. Classic OS deadlock avoidance demo.
Set launch angle, initial speed, and height. See the trajectory, max height, and range plotted on a canvas. Learn kinematics.
Type a UPC or EAN number and see how a laser scanner would identify it, plus check digit validation.
Step‑by‑step interactive animation for the PCT bear bag hanging method. Practice the throw and tie before you go.
Select ingredient and convert between grams, cups, ounces, etc. with built‑in density estimates. Also scale recipe.
Get a random but compatible PC build list (CPU, GPU, RAM). For fun or mock builds. Prices static.
Adjust angle and initial speed to launch a projectile. See trajectory, range, max height. Interactive physics.
Create a simple 3D bed-leveling test pattern (circles/squares) as a vector, preview, download SVG for extrusion.
Visualize random-width plank layout and calculate total square footage plus waste for hardwood or laminate flooring.
Enter hole saw diameter and material to find the recommended RPM and feed pressure. Prevent burning and kickback.
Paste multiple HTML snippets (header, footer) and a main content, then combine them into a single preview. Static site helper.
Convert text into binary digits and decode binary back to readable text. Handy for education and computer science. All conversions performed locally in your browser.
Adjust ISO, f‑stop, shutter speed and see a simulated image brightness and depth of field effect. Learn manual mode.
Upload an image and see a rough simulation of how it might look when printed. Highlights areas that may lose detail.
Simulate random mouse moves, clicks, or keystrokes to test idle‑timeout logic. Stops when you move the mouse. Dev test.
Decode SMD resistor markings (3-digit, 4-digit, EIA-96) to resistance value. Enter code and get ohms instantly. Handy for PCB repair.
Paste text and convert it into a realistic handwriting image using different fonts and ink colors. Download as PNG. Fun for notes.
Enter vehicle price, down payment, rate, term to compute monthly payment and total interest paid.
Open your camera and scan barcodes or QR codes in real time. Uses ZXing JS. No data sent anywhere.
Generate a QR code from any text, URL, or contact details. Save as PNG, SVG, or copy to clipboard. All local.
Calculate how many planks you need to cover an area given plank dimensions and gap. Quick carpentry estimator. Local only.
Enter any two of rise, run, pitch ratio, or angle to get the others. Useful for DIY shed or home projects.
Add discs by speed, glide, turn, fade to build a balanced bag. See slot gaps. Print your in‑the‑bag list.
Convert between BTU, gas marks, and approximate Fahrenheit temperatures. Understand your burner output.
Simulate rolling dice for board games, RPGs, and decision making. Choose number of dice and faces. Fun, lightweight, and no download required.
Calculate the break‑even point in units and dollars. Input fixed costs, variable cost per unit, and price.
Connect a gamepad and see all button presses and axis movements visually. Check that every input is detected correctly.
Test the Web Share API by sharing text, links, and files directly from the browser. Check compatibility and see example code.
Create complex linear gradients with any number of color stops, exact angles, and length units. Live preview and CSS code.
Turn your phone into a 3D compass using the AbsoluteOrientationSensor API. See quaternion and Euler angles in real time.