TIS Advanced
Modby PwnagePineapple
Advanced calculation for TIS-3D
Description
TIS Advanced
TIS Advanced features include two new modules, and several new instructions for the Execution Module.
New Modules
New Instructions for Execution Module
Floating Point Arithmetic Instructions
ADDF, SUBF, MULF, and DIVF behave like their integer counterparts, however, they operate on ACC as though the data contained within represents an IEEE-754 compliant half-precision floating point number.
Note that it is possible to store an integer value in ACC and attempt floating point calculations on it, and vice versa. This is likely to produce incorrect values. It is the user's responsibility to ensure that operations are only performed on the correct data representation.
Floating Point Flow Control Instructions
The JEZF, JNZF, JGZF, and JLZF instructions behave like their integer counterparts JEZ, JNZ, JGZ, and JLZ, however, like the floating point arithmetic operations above, they operate on ACC as though the value contained within is an IEEE-754 half-precision float.
Floating Point Conversion Instructions
The FLT instruction will convert an integer value stored in ACC to a IEEE-754 half-precision floating point representation. The INT instruction will convert a floating point value stored in ACC to a 16-bit signed two's complement integer representation; the same representation used by standard TIS-3D arithmetic operations. Converting to integer representation will round the floating point value to the nearest whole number, with ties rounding upwards.
MOV Instruction Changes
The MOV instruction has been extended to support handling floating point literals. For example, the instruction MOV 0.25 ACC will no longer be a compiler error, and will now load the floating point value 0.25 into the ACC register as expected.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Cozy
A quality of life mod adding vanilla+ foods and decor!
Just Another Crafting Bench
Just adds a single block, a crafting bench that stores its inventory
Ars Omega
An addon for Ars Nouveau adding a fourth tier of spells, a new dimension, and various new features
Sword Blocking Mechanics
Sword blocking is back! Exactly like it used to be, or different? Your choice!
Disable Insecure Chat Toast
This mod deletes warning toast about connecting to a server without enforce secure chat.
My Totem Doll
Replaces vanilla totems with autogenerated 2D or 3D totems for EVERY player in Minecraft! Rename your totem to player's...