add_and_subtract.py (6086:2ac9ab003d54) add_and_subtract.py (6090:80d7669e9cdb)
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 411 unchanged lines hidden (view full) ---

420
421def macroop NEG_P
422{
423 rdip t7
424 ldst t1, seg, riprel, disp
425 sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
426 st t1, seg, riprel, disp
427};
1# Copyright (c) 2007 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use of this software in source and binary forms,
5# with or without modification, are permitted provided that the
6# following conditions are met:
7#
8# The software must be used only for Non-Commercial Use which means any

--- 411 unchanged lines hidden (view full) ---

420
421def macroop NEG_P
422{
423 rdip t7
424 ldst t1, seg, riprel, disp
425 sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
426 st t1, seg, riprel, disp
427};
428
429def macroop NEG_LOCKED_M
430{
431 ldstl t1, seg, sib, disp
432 sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
433 stul t1, seg, sib, disp
434};
435
436def macroop NEG_LOCKED_P
437{
438 rdip t7
439 ldstl t1, seg, riprel, disp
440 sub t1, t0, t1, flags=(CF,OF,SF,ZF,AF,PF)
441 stul t1, seg, riprel, disp
442};
428'''
443'''