A firmware-based high-frequency beam- former implementing both conventional transmit focused B-mode imaging and diverging wave ultrafast (UF) imaging for Doppler overlay was developed. The beamformer can generate one transmit focused frame with four transmit focal zones (FZs), and 68 UF frames with 16 diverging waves each at a 10-Hz frame rate. The beamformer firmware stores the beamforming delays as a single bit, enabling efficient compression within the internal memory. The beamformer was characterized using a 30-MHz 64-element phased array endoscope. The hybrid system generates a 128 line by 768-pixel focused B-mode image spanning 1.2-12.6 mm axially over a ±32° range of steering angles. In addition, the system generates an UF image that is 64 lines by 384-pixels spanning 3.5-10.8 mm axially over a ±16° angle.