Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/229402/?format=api
{ "translation": "https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/es/?format=api", "source": [ "As <filename>boot0</filename> is loaded by the <acronym>BIOS</acronym> to address <literal>0x7C00</literal>, it copies itself to address <literal>0x600</literal> and then transfers control there (recall that it was linked to execute at address <literal>0x600</literal>). The source address, <literal>0x7c00</literal>, is copied to register <literal>%si</literal>. The destination address, <literal>0x600</literal>, to register <literal>%di</literal>. The number of bytes to copy, <literal>512</literal> (the program's size), is copied to register <literal>%cx</literal>. Next, the <literal>rep</literal> instruction repeats the instruction that follows, that is, <literal>movsb</literal>, the number of times dictated by the <literal>%cx</literal> register. The <literal>movsb</literal> instruction copies the byte pointed to by <literal>%si</literal> to the address pointed to by <literal>%di</literal>. This is repeated another 511 times. On each repetition, both the source and destination registers, <literal>%si</literal> and <literal>%di</literal>, are incremented by one. Thus, upon completion of the 512-byte copy, <literal>%di</literal> has the value <literal>0x600</literal>+<literal>512</literal>= <literal>0x800</literal>, and <literal>%si</literal> has the value <literal>0x7c00</literal>+<literal>512</literal>= <literal>0x7e00</literal>; we have thus completed the code <emphasis>relocation</emphasis>." ], "previous_source": "Because <filename>boot0</filename> is loaded by the <acronym>BIOS</acronym> to address <literal>0x7C00</literal>, it copies itself to address <literal>0x600</literal> and then transfers control there (recall that it was linked to execute at address <literal>0x600</literal>). The source address, <literal>0x7c00</literal>, is copied to register <literal>%si</literal>. The destination address, <literal>0x600</literal>, to register <literal>%di</literal>. The number of bytes to copy, <literal>512</literal> (the program's size), is copied to register <literal>%cx</literal>. Next, the <literal>rep</literal> instruction repeats the instruction that follows, that is, <literal>movsb</literal>, the number of times dictated by the <literal>%cx</literal> register. The <literal>movsb</literal> instruction copies the byte pointed to by <literal>%si</literal> to the address pointed to by <literal>%di</literal>. This is repeated another 511 times. On each repetition, both the source and destination registers, <literal>%si</literal> and <literal>%di</literal>, are incremented by one. Thus, upon completion of the 512-byte copy, <literal>%di</literal> has the value <literal>0x600</literal>+<literal>512</literal>= <literal>0x800</literal>, and <literal>%si</literal> has the value <literal>0x7c00</literal>+<literal>512</literal>= <literal>0x7e00</literal>; we have thus completed the code <emphasis>relocation</emphasis>.", "target": [ "Porque <filename>boot0</filename> es cargado por el <acronym>BIOS</acronym>dirigirse <literal>0x7C00</literal>,se copia a sí mismo para abordar <literal>0x600</literal> y luego transfiere el control allí (recuerde que estaba vinculado para ejecutar en la dirección<literal>0x600</literal>). La dirección de origen, <literal>0x7c00</literal>,se copia para registrarse<literal>%si</literal>.La dirección de destino, <literal>0x600</literal>, registrarse <literal>%di</literal>. El número de bytes para copiar, <literal>512</literal> (el tamaño del programa), se copia para registrar <literal>%cx</literal>.A continuación, el <literal>rep</literal> instrucción repite la instrucción que sigue, es decir, <literal>movsb</literal>, el número de veces dictado por el <literal>%cx</literal> register. The <literal>movsb</literal> instruction copies the byte pointed to by <literal>%si</literal> a la dirección apuntada por <literal>%di</literal>. Esto se repite otras 511 veces. En cada repetición, tanto el registro de origen como el de destino, <literal>%si</literal> y <literal>%di</literal>,se incrementan en uno. Por lo tanto, una vez completada la copia de 512 bytes, <literal>%di</literal>tiene el valor <literal>0x600</literal>+<literal>512</literal>= <literal>0x800</literal>, y <literal>%si</literal> tiene el valor <literal>0x7c00</literal>+<literal>512</literal>= <literal>0x7e00</literal>; así hemos completado el código <emphasis>relocation</emphasis>." ], "id_hash": 7019296161213301053, "content_hash": 7019296161213301053, "location": "book.translate.xml:650", "context": "", "note": "(itstool) path: sect1/para", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 77, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 149, "source_unit": "https://translate-dev.freebsd.org/api/units/229386/?format=api", "priority": 100, "id": 229402, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/es/?checksum=e1698cab3661c13d", "url": "https://translate-dev.freebsd.org/api/units/229402/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-01-09T14:37:18.060413Z" }