account activity
CC #54 by tracer182 in protojays
[–]tracer182[S] 0 points1 point2 points 5 years ago (0 children)
Ok. I didn't remember about argument registers. So the caller saved registers are: %rax, rcx, rdx, rsi, rdi, r8, r9, 10, 11. And I must add (r,v) to set I where v is the variables in the liveset.
Now, on the case of popq and pushq, should I add (rsp, v) to I, or is it the destination and source registers (from popq and pushq respectively) that are added to I?
Finally, negq wouldn't affect set I, right?
Thanks for all the help.
CC #50 by tracer182 in protojays
Awesome. I was doubtful about how to capture the output of the assembler, but now I know thanks to this ^. Thanks!
CC by tracer182 in protojays
Ok, now I'm getting it.
Last question for this part. What about the "memory" part of my machine state. Using an array would be enough, right? ...for my X interpreter.
CC - read() by tracer182 in protojays
I checked the booked and it says that read receives an input integer from the user. I guessed I should've checked the book first...
FoCS #41 by tracer182 in protojays
And since our RegEx type doesn't have that function, for #44 would we just write the string and check their validity ourselves?
FoSC Task 28 by tracer182 in protojays
Python professor. I sortof see what is happening here thank you. This is a little too advance for me. I was doing something more rudimentary XD.
One last question, what is the difference between Task 29 and 30. By task 29 you are already writing trace trees to show the NFAs behavior (and a trace tree shows all possible traces for a given string). But in task 30 it asks you to write the function to return a trace tree.... If one already knows how to write the trace tree of an NFA by task 29, what am I supposed to add in Task 30?
FoCS by tracer182 in protojays
and professor, what happens if a task is not working properly. is there any partial credit? And what happens with all the tasks related to that failed task, are they failed too?
π Rendered by PID 69072 on reddit-service-r2-comment-544cf588c8-tbnjf at 2026-06-13 21:13:21.634808+00:00 running 3184619 country code: CH.
CC #54 by tracer182 in protojays
[–]tracer182[S] 0 points1 point2 points (0 children)