Skip to content

Comment on An IRC Bot in Arm Assembler

Comments

  socket_call: .long 281
  connect_call: .long 283
How does one get these numbers?

edit: https://github.com/wyc/armbot/blob/master/connect.s#L55

Thanks! Reading through the linux source is always funny if nothing else:

/* syscall to call a syscall! / http://lxr.free-electrons.com/source/arch/arm/include/uapi/a...

/ 222 for tux */ http://lxr.free-electrons.com/source/arch/arm/include/uapi/a...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.