TIS Advanced 图标

TIS Advanced

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.3.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/tis-advanced
资源信息

Minecraft 版本: 1.20.1

平台: forge neoforge

标签: technology

资源介绍

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.

📥 下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Orbital Railgun Sounds

价格:0 墨喵币
下载量:0

查看详情
Archivist

价格:0 墨喵币
下载量:0

查看详情
Epic Adventures

价格:0 墨喵币
下载量:0

查看详情
BareBones Kompotik Edition

价格:0 墨喵币
下载量:0

查看详情