The ROM is hardware, what the ROM contains is software. Otherwise you end up arguing that software on a CD is hardware, which is clearly nonsense.
@mjg59 Did someone misread Tanenbaum?