Hacker News new | ask | show | jobs
by JonChesterfield 1033 days ago
Two ways. One is the platform ABI sometimes says specific arguments are passed in specific registers. The second is (essentially) assigning local variables offsets on a machine stack where some offsets are stored in registers.