VirtualBox

Changeset 30943 in vbox


Ignore:
Timestamp:
Jul 20, 2010 7:40:31 PM (14 years ago)
Author:
vboxsync
Message:

iprt/asmdefs.mac: added constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs.mac

    r30736 r30943  
    2626%ifndef ___iprt_asmdefs_mac
    2727%define ___iprt_asmdefs_mac
     28
     29
     30;; @defgroup grp_rt_cdefs_size     Size Constants
     31; (Of course, these are binary computer terms, not SI.)
     32; @{
     33;; 1 K (Kilo)                     (1 024).
     34%define _1K                     000000400h
     35;; 4 K (Kilo)                     (4 096).
     36%define _4K                     000001000h
     37;; 32 K (Kilo)                   (32 678).
     38%define _32K                    000008000h
     39;; 64 K (Kilo)                   (65 536).
     40%define _64K                    000010000h
     41;; 128 K (Kilo)                 (131 072).
     42%define _128K                   000020000h
     43;; 256 K (Kilo)                 (262 144).
     44%define _256K                   000040000h
     45;; 512 K (Kilo)                 (524 288).
     46%define _512K                   000080000h
     47;; 1 M (Mega)                 (1 048 576).
     48%define _1M                     000100000h
     49;; 2 M (Mega)                 (2 097 152).
     50%define _2M                     000200000h
     51;; 4 M (Mega)                 (4 194 304).
     52%define _4M                     000400000h
     53;; 1 G (Giga)             (1 073 741 824).
     54%define _1G                     040000000h
     55;; 2 G (Giga)             (2 147 483 648).
     56%define _2G             00000000080000000h
     57;; 4 G (Giga)             (4 294 967 296).
     58%define _4G             00000000100000000h
     59;; 1 T (Tera)         (1 099 511 627 776).
     60%define _1T             00000010000000000h
     61;; 1 P (Peta)     (1 125 899 906 842 624).
     62%define _1P             00004000000000000h
     63;; 1 E (Exa)  (1 152 921 504 606 846 976).
     64%define _1E             01000000000000000h
     65;; 2 E (Exa)  (2 305 843 009 213 693 952).
     66%define _2E             02000000000000000h
     67;; @}
     68
    2869
    2970;;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette