How to compare two bios files

Hi,
I have two similar rom files I want to compare the structure against each other. Is there a tool that compares two files?

Thanks

If you just want to compare the structure of 2 different AMI UEFI BIOS files, I recommend to use the UEFITool.
If you want to compare the Hex Code of them, you should use an Hex Editor like HxD.

I figured it out. Ended up using UEFIExtract with the unpack option and compared the reports with Winmerge. Thanks.