|
1 | 1 | /* |
2 | | - * This file is part of the Micro Python project, http://micropython.org/ |
| 2 | + * This file is part of the MicroPython project, http://micropython.org/ |
3 | 3 | * |
4 | 4 | * The MIT License (MIT) |
5 | 5 | * |
|
51 | 51 | /*****************************************************************************/ |
52 | 52 | /* Object representation */ |
53 | 53 |
|
54 | | -// A Micro Python object is a machine word having the following form: |
| 54 | +// A MicroPython object is a machine word having the following form: |
55 | 55 | // - xxxx...xxx1 : a small int, bits 1 and above are the value |
56 | 56 | // - xxxx...xx10 : a qstr, bits 2 and above are the value |
57 | 57 | // - xxxx...xx00 : a pointer to an mp_obj_base_t (unless a fake object) |
58 | 58 | #define MICROPY_OBJ_REPR_A (0) |
59 | 59 |
|
60 | | -// A Micro Python object is a machine word having the following form: |
| 60 | +// A MicroPython object is a machine word having the following form: |
61 | 61 | // - xxxx...xx01 : a small int, bits 2 and above are the value |
62 | 62 | // - xxxx...xx11 : a qstr, bits 2 and above are the value |
63 | 63 | // - xxxx...xxx0 : a pointer to an mp_obj_base_t (unless a fake object) |
|
73 | 73 | // Str and float stored as O = R + 0x80800000, retrieved as R = O - 0x80800000. |
74 | 74 | // This makes strs easier to encode/decode as they have zeros in the top 9 bits. |
75 | 75 | // This scheme only works with 32-bit word size and float enabled. |
76 | | - |
77 | 76 | #define MICROPY_OBJ_REPR_C (2) |
78 | 77 |
|
79 | 78 | // A MicroPython object is a 64-bit word having the following form (called R): |
|
235 | 234 | #endif |
236 | 235 |
|
237 | 236 | /*****************************************************************************/ |
238 | | -/* Micro Python emitters */ |
| 237 | +/* MicroPython emitters */ |
239 | 238 |
|
240 | 239 | // Whether to support loading of persistent code |
241 | 240 | #ifndef MICROPY_PERSISTENT_CODE_LOAD |
|
0 commit comments