Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:Advanced IC10 Programming: Difference between revisions

Discussion page of Advanced IC10 Programming
RA2lover (talk | contribs)
m db by register indirection finding
RA2lover (talk | contribs)
m nope, misleading findings.
 
Line 3: Line 3:
-----
-----
while trying to debug a misbehaving network channel load instruction running on a filtration device, apparently you can try accessing an out-of-bounds register and it'll default to db (if the instruction isn't set to throw an OutOfDeviceBounds exception; apparently "l" doesn't at the very least); dr0 with r0 as -1 should do the trick for example. --[[User:RA2lover|RA2lover]] ([[User talk:RA2lover|talk]]) 16:42, 2 September 2026 (UTC)
while trying to debug a misbehaving network channel load instruction running on a filtration device, apparently you can try accessing an out-of-bounds register and it'll default to db (if the instruction isn't set to throw an OutOfDeviceBounds exception; apparently "l" doesn't at the very least); dr0 with r0 as -1 should do the trick for example. --[[User:RA2lover|RA2lover]] ([[User talk:RA2lover|talk]]) 16:42, 2 September 2026 (UTC)
----
nope, within the case of "l" it's ignored and a -1 is returned. "db" maps to int.MaxValue instead, but that goes beyond the number of registers available (18 total; sp is r16, ra is r17) returning a -1 if you try it. --[[User:RA2lover|RA2lover]] ([[User talk:RA2lover|talk]]) 16:50, 2 September 2026 (UTC)

Latest revision as of 16:50, 2 September 2026

db by register indirection?

the "Devices by Register" section shows you can access a device based on its pin number from a register. Other than alias abuse (alias d db followed by an alias d drn later on, requiring an extra cycle per device), is there another way to do this? --RA2lover (talk) (can't be bothered to find a date, check edit history for that)


while trying to debug a misbehaving network channel load instruction running on a filtration device, apparently you can try accessing an out-of-bounds register and it'll default to db (if the instruction isn't set to throw an OutOfDeviceBounds exception; apparently "l" doesn't at the very least); dr0 with r0 as -1 should do the trick for example. --RA2lover (talk) 16:42, 2 September 2026 (UTC)


nope, within the case of "l" it's ignored and a -1 is returned. "db" maps to int.MaxValue instead, but that goes beyond the number of registers available (18 total; sp is r16, ra is r17) returning a -1 if you try it. --RA2lover (talk) 16:50, 2 September 2026 (UTC)