Unknown results of XSM

54 views
Skip to first unread message

Hemanth Kumar .J

unread,
Oct 15, 2020, 9:10:43 AM10/15/20
to xos-...@googlegroups.com
Sir,
I have run code for stage 11 and faced an issue where an exception was thrown before a RET was executed. After various attempts, I was told to add one more RET at the end of the code and the library worked as expected. I dont understand why this had happened.
I have attached the debug response with this mail.
ss1.png
ss2.png

ishan ghosh

unread,
Oct 15, 2020, 9:20:02 AM10/15/20
to XOS Users
Try putting a newline after the RET.

Hemanth Kumar .J

unread,
Oct 15, 2020, 9:23:28 AM10/15/20
to xos-...@googlegroups.com
yea, that works as well, but what is the reason behind this? Like xsm cannot detect the last instruction?

--
You received this message because you are subscribed to the Google Groups "XOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xos-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/xos-users/84fc9340-aaab-4e0d-bc56-d720eaa56ca3n%40googlegroups.com.

ishan ghosh

unread,
Oct 15, 2020, 9:30:43 AM10/15/20
to XOS Users
The xfs-interface while loading a file to the disk blocks seems to read till the '\n' and then write to the disk, and since the '\n' doesn't exist at the end of the file and EOF is encountered before the instruction is written to the disk blocks the function exits and the last instruction is never written to the disk block and is never executed.

Ishan

Hemanth Kumar .J

unread,
Oct 15, 2020, 9:49:46 AM10/15/20
to xos-...@googlegroups.com
Ohh, Okay thank you very much

Reply all
Reply to author
Forward
0 new messages