[EXT_EP-8525] Assembler computes wrong result for expression 0x232800 % 0x10000 Created: 13/Dec/17  Updated: 19/Feb/20  Resolved: 13/Dec/17

Status: Fixed
Project: Embedded Software & Tools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Medium
Reporter: TI User Assignee: TI User
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Product: Code Generation Tools
Internal ID: CODEGEN-4113
Forum URL: https://e2e.ti.com/support/development_tools/compiler/f/343/t/649271
Found In Release: PRU_2.2.0
 C6000_8.2.0
 C2000_16.9.0.LTS
Fix In Release: C6000_8.3.0
 C6000_8.2.3
 ARM_16.9.7.LTS
Workaround: In some instances, as in the original test case, the AND operator can be used instead, but that is not a general workaround.
Release Notes: The modulo operator in the TI assembler, for releases made in mid-to-late 2016 and all of 2017, is unreliable. In some cases it will produce an incorrect answer.

 Description   

Assembler computes wrong result for expression 0x232800 % 0x10000


Generated at Wed Apr 09 06:02:25 CDT 2025 using Jira 9.12.17#9120017-sha1:aba4002bcd633f188b6a4bb5dd8a0e1f20b79ee4.