
TIS Advanced
The TIS Advanced modification expands TIS-3D functionality by adding two completely new modules and numerous additional instructions for the execution module.
New System Modules
- ASIC Module - specialized module for data processing
- Tape Storage Module - tape storage module for information
Extended Instructions for Execution Module
Floating Point Arithmetic Operations
Instructions ADDF
, SUBF
, MULF
, and DIVF
work similarly to their integer counterparts, but process data in the ACC
register as IEEE-754 half-precision floating point numbers.
It's important to note that attempting to perform floating point operations on integer values (and vice versa) may lead to incorrect results. The user is responsible for proper data type usage.
Flow Control for Floating Point Numbers
Instructions JEZF
, JNZF
, JGZF
, and JLZF
function similarly to their integer versions JEZ
, JNZ
, JGZ
, and JLZ
, but work with data in ACC
as IEEE-754 half-precision floating point numbers.
Data Type Conversion
The FLT
instruction converts an integer value from ACC
to IEEE-754 half-precision floating point representation. The INT
instruction performs the reverse conversion - from floating point format to 16-bit signed integer in two's complement, used by standard TIS-3D arithmetic operations. When converting to integer, the value is rounded to the nearest whole number, with ties rounding upward.
MOV Instruction Changes
The MOV
instruction has been enhanced to support floating point literals. For example, the command MOV 0.25 ACC
no longer causes a compilation error and correctly loads the value 0.25
into the ACC
register.