This is the x86-style of borrow flags. ARM uses subtract-with-carry which inverts the sense of the carry flag.