disclosed is a method and apparatus for program event recording in a data processing system and is used , for example , in debugging programs . a program event occurs whenever an address in the data processing system falls within a range between a control lower address and a control upper address . the system detects a program event without degrading system performance using carry - lookahead adder structures which implement four inequality relationships .