Hammurabi

Are there any mainstream Torah sources that talk about the Hammurabi Code,
compared and contrasted with Torah in general or Parshat Mishpatim in
particular?

The nearest that I'm aware of is Chief Rabbi Hertz's Humash, which is,
let's say, not as popular today as it was when I was young.

Hammurabi is properly dated to the time of the Judges, as is Ur-Nammu of Ur III, whose code preceded his.

Lisa