new helper functions. irc.asm added