ARMµÄ N¡¢Z¡¢C¡¢V ±ê־λµÄ½âÊÍ
N µ±ÓÃÁ½¸ö²¹Âë±íʾµÄ´ø·ûºÅÊý½øÐÐÔËËãʱ£¬N=1±íʾÔËËãµÄ½á¹ûΪ¸ºÊý£»N=0±íʾÔËËãµÄ½á¹ûΪÕýÊý»òÁã.
Z Z=1±íʾÔËËãµÄ½á¹ûΪÁ㣬Z=0±íʾÔËËãµÄ½á¹û·ÇÁã¡£
C ¿ÉÒÔÓÐ4ÖÖ·½·¨ÉèÖÃCµÄÖµ£º
¼Ó·¨ÔËË㣨°üÀ¨CMN£©£ºµ±ÔËËã½á¹û²úÉúÁ˽øλʱ£¨ÎÞ·ûºÅÊýÒç³ö£©£¬C=1£¬·ñÔòC=0¡£
¼õ·¨ÔËË㣨°üÀ¨CMP£©£ºµ±ÔËËãʱ²úÉúÁ˽èλʱ£¨ÎÞ·ûºÅÊýÒç³ö£©£¬C=0£¬·ñÔòC=1¡£
¶ÔÓÚ°üº¬ÒÆλ²Ù×÷µÄ·Ç¼Ó/¼õÔËËãÖ¸ÁCΪÒƳöÖµµÄ×îºóһλ¡£
¶ÔÓÚÆäËüµÄ·Ç¼Ó/¼õÔËËãÖ¸ÁCµÄֵͨ³£²»»á¸Ä±ä¡£
V ¿ÉÒÔÓÐ2ÖÖ·½·¨ÉèÖÃVµÄÖµ£º
¶ÔÓÚ¼Ó¼õ·¨ÔËËãÖ¸Áµ±²Ù×÷ÊýºÍÔËËã½á¹ûΪ¶þ½øÖƵIJ¹Âë±íʾµÄ´ø·ûºÅÊýʱ£¬V=1±íʾ·ûºÅλÒç³ö
¶ÔÓÚÆäËüµÄ·Ç¼Ó/¼õÔËËãÖ¸ÁVµÄֵͨ³£²»»á¸Ä±ä¡£
0000 = EQ - Z set (equal£¬ÏàµÈ)
0001 = NE - Z clear (not equal£¬²»ÏàµÈ)
0010 = CS - C set (unsigned higher or same£¬ÎÞ·ûºÅ´óÓÚ»òµÈÓÚ)
0011 = CC - C clear (unsigned lower£¬ÎÞ·ûºÅСÓÚ)
0100 = MI - N set (negative£¬¸ºÊý)
0101 = PL - N clear (positive or zero£¬ÕýÊý»òÁã)
0110 = VS - V set (overflow£¬Òç³ö)
0111 = VC - V clear (no overflow£¬Î´Òç³ö)
1000 = HI - C set and Z clear (unsigned higher£¬ÎÞ·ûºÅ´óÓÚ)
1001 = LS - C clear or Z set (unsigned lower or same£¬ÎÞ·ûºÅСÓÚ»òµÈÓÚ)
1010 = GE - N set and V set, or N clear and V clear (greater or equal£¬´ø·ûºÅ´óÓÚ»òµÈÓÚ)
1011 = LT - N set and V clear, or N clear and V set (less than£¬´ø·ûºÅСÓÚ)
1100 = GT - Z clear, and either N set and V set, or N clear and V clear (greater than£¬´ø·ûºÅ´óÓÚ)
1101 = LE - Z set, or N set and V clear, or N clear and V set (less than or equal£¬´ø·ûºÅСÓÚ»òµÈÓÚ)
1110 = AL - always
1111 = NV - never
¶ÔÓÚVµÄ½âÊÍ
ÕýÊýÏà¼Ó±ä³É¸ºÊý
1£©£¨+72£©+£¨+98£©=£¿
0 1 0 0 1 0 0 0 B +72
+ 0 1 1 0 0 0 1 0 B +98
1 0 1 0 1 0 1 0 B -42
¸ºÊýÏà¼Ó±ä³ÉÕýÊý
2£©£¨-83£©+£¨-80£©=£¿
1 0 1 0 1 1 0 1 B -83
+&nb
Ïà¹ØÎĵµ£º
#(¶Á×ö "C sharp")ÊÇ΢Èí¹«Ë¾ÔÚÈ¥ÄêÁùÔ·¢²¼µÄÒ»ÖÖеıà³ÌÓïÑÔ,²¢¶¨ÓÚÔÚ΢ÈíÖ°Òµ¿ª·¢ÕßÂÛ̳(PDC)ÉϵÇ̨ÁÁÏà.C#ÊÇ΢Èí¹«Ë¾Ñо¿Ô±Anders HejlsbergµÄ×îгɹû.C#¿´ÆðÀ´ÓëJavaÓÐמªÈ˵ÄÏàËÆ;Ëü°üÀ¨ÁËÖîÈçµ¥Ò»¼Ì³Ð,½çÃæ,ÓëJava¼¸ºõͬÑùµÄÓï·¨,ºÍ±àÒë³ÉÖмä´úÂëÔÙÔËÐеĹý³Ì.µ«ÊÇC#ÓëJavaÓÐ×ÅÃ÷ÏԵIJ»Í¬,Ëü½è¼øÁËDelphiµÄÒ»¸ ......
C++Àà¿â½éÉÜ
ÔÙ´ÎÌåÏÖÁËC++±£³ÖºËÐÄÓïÑÔµÄЧÂÊͬʱ´óÁ¦·¢Õ¹Ó¦ÓÿâµÄ·¢Õ¹Ç÷ÊÆ!!ÔÚC++ÖУ¬¿âµÄµØλÊǷdz£¸ßµÄ¡£C++Ö®¸¸ Bjarne
StroustrupÏÈÉú¶à´Î±íʾÁËÉè¼Æ¿âÀ´À©³ä¹¦ÄÜÒªºÃ¹ýÉè¼Æ¸ü¶àµÄÓï·¨µÄÑÔÂÛ¡£ÏÖʵÖУ¬C++µÄ¿âÃÅÀà·±¶à£¬½â¾öµÄÎÊÌâÒ²ÊǼ«Æä¹ã·º£¬¿â´ÓÇáÁ¿¼¶µ½ÖØ
Á¿¼¶µÄ¶¼Ó ......
1. ö¾ÙµÄ¶¨Òåö¾ÙÀàÐͶ¨ÒåµÄÒ»°ãÐÎʽΪ£º
enum ö¾ÙÃû{ ö¾ÙÖµ±í };
ÔÚö¾ÙÖµ±íÖÐÓ¦ÂÞÁгöËùÓпÉÓÃÖµ¡£ÕâЩֵҲ³ÆΪö¾ÙÔªËØ¡£
ÀýÈ磺
¸Ãö¾ÙÃûΪweekday£¬Ã¶¾ÙÖµ¹²ÓÐ7¸ö£¬¼´Ò»ÖÜÖеÄÆßÌì¡£·²±»ËµÃ÷ΪweekdayÀàÐͱäÁ¿µÄÈ¡ÖµÖ»ÄÜÊÇÆßÌìÖеÄijһÌì¡£
2. ö¾Ù±äÁ¿µ ......
bcmp
ÔÐÍ£ºextern int bcmp(const void *s1, const void *s2, int n);
Ó÷¨£º#include <string.h>
¹¦ÄÜ£º±È½Ï×Ö·û´®s1ºÍs2µÄÇ°n¸ö×Ö½ÚÊÇ·ñÏàµÈ
˵Ã÷£ºÈç¹ûs1=s2»òn=0Ôò·µ»ØÁ㣬·ñÔò·µ»Ø·ÇÁãÖµ¡£bcmp²»¼ì²éNULL¡£
bcopy
ÔÐÍ£ºextern void bcopy(const void *src, void *dest, int n);
Ó÷ ......
Ç°¶Îʱ¼ä¸Õ²Î¼ÓÁËn¶à¹«Ë¾µÄC/C++Èí¼þ¹¤³ÌʦµÄÃæÊÔ£¬ÓйúÆó£¬ÍâÆó£¬Ë½Æó£¨moto£¬·É˼¿¨¶û£¬¸ÛÍ壬ÖйúÎÀÐÇXXX£¨Õâ¸öÅ££©£©µÈµÈµÈµÈ¡£¸ÐÊܸÐÏëÆĶ࣬½üÈÕÖÕÓÚ¿ÕÏУ¬Ôڴ˱íÊöһϡ£
±¾ÈË»ù±¾Ìõ¼þ£º3Ä꿪·¢¾Ñ飬2year+ Windows development experence£¬1year+ Linux experence. ÊìϤC£¬C++£¬MFC/SDK/API,MiniG ......