在Debug中,标志寄存器是按照有意义的各个标志位单独表示的。在Debug中,我们可以看到下面的信息。
AX=0000 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000
DS=*** ES=*** sS=*** CS=*** IP=0100 NV UP EI PL NZ NA PO NC
| | | | | |
OF DF SF ZF PF CF
下面列出Debug对我们已知的标志位的表示。
标志 值为1的标一记 值为0的标记
of OV NV
sf NG PL
zf ZR NZ
pf PE PO
cf CY NC
df DN UP
常见运算标志位的解释
OF(overflow flag)溢出标志位 ,针对有符号运算使用,当运算有溢出 时 of = 1
sf (sign flag ) 符号标志位 ,sf的值为有符号数的符号位的值
zf(zero flag )零标志位,当结果为零时 zf=1
pf(pairty flag) 偶标志位 ,当结果中1的个数为偶数个是pf=1
cf(carry flag) 进位标志位,无符号运算时如果产生进位cf = 1
af(auxiliary flag )辅助进位标志位,当低半字节运算产生进位时af=1
常见的指令对标志寄存器中标志位的影响
add、adc、sub、sbb、imul、idiv、neg对六个运算标志位都可能产生影响
inc、dec不会对cf产生影响 对其他标志位可能会有影响,
mul、div只会对cf/of产生影响。
and、or、xor指令都能清cf/of为0 ,
not对标志位没影响,
TEST指令影响 sf/pf/zf。
Deprecated: 自 3.1.0 版本起,使用参数调用函数 WP_Query
已弃用!
caller_get_posts
已被废弃,请改用
ignore_sticky_posts
。 in
C:\xampp\htdocs\wp-includes\functions.php on line
6121
WordPress 数据库错误: [Unknown column 'wp_term_relationships.term_taxonomy_id' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts INNER JOIN wp_comments AS ct ON wp_posts.ID = ct.comment_post_ID AND ct.comment_type IN ('comment', '') AND ct.comment_parent=0 AND ct.comment_approved NOT IN ('spam', 'trash', 'post-trashed')
WHERE 1=1 AND wp_posts.ID NOT IN (4198) AND (
wp_term_relationships.term_taxonomy_id IN (881,884)
) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish'))
GROUP BY ct.comment_post_ID
ORDER BY MAX(ct.comment_ID) DESC
LIMIT 0, 4
Deprecated: 自 3.1.0 版本起,使用参数调用函数 WP_Query
已弃用!
caller_get_posts
已被废弃,请改用
ignore_sticky_posts
。 in
C:\xampp\htdocs\wp-includes\functions.php on line
6121
WordPress 数据库错误: [Unknown column 'wp_term_relationships.term_taxonomy_id' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID
FROM wp_posts INNER JOIN wp_comments AS ct ON wp_posts.ID = ct.comment_post_ID AND ct.comment_type IN ('comment', '') AND ct.comment_parent=0 AND ct.comment_approved NOT IN ('spam', 'trash', 'post-trashed')
WHERE 1=1 AND wp_posts.ID NOT IN (4198) AND (
wp_term_relationships.term_taxonomy_id IN (599)
) AND ((wp_posts.post_type = 'post' AND (wp_posts.post_status = 'publish')))
GROUP BY ct.comment_post_ID
ORDER BY MAX(ct.comment_ID) DESC
LIMIT 0, 4
没有相关文章!