Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/229434/?format=api
https://translate-dev.freebsd.org/api/translations/freebsd-doc/boooks_arch-handbook/pt_BR/?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> é carregado pelo <acronym>BIOS</acronym> para endereçar <literal>0x7C00</literal>, copia-se para endereçar <literal>0x600</literal> e depois transfere o controle para lá (lembre-se de que estava ligado para executar no endereço <literal>0x600</literal>. O endereço de origem, <literal>0x7c00</literal>, é copiado para se registrar <literal>%si</literal>. O endereço de destino, <literal>0x600</literal>, registrar <literal>%di</literal>. O número de bytes para copiar, <literal>512</literal> (tamanho do programa), é copiado para registrar <literal>%cx</literal>. Em seguida, a instrução <literal>rep</literal> repete a instrução que se segue, isto é, <literal>movsb</literal>, o número de vezes ditado pelo registrador <literal>%cx</literal>. A instrução <literal>movsb</literal> copia o byte apontado por <literal>%si</literal> para o endereço apontado por <literal>%di</literal>. Isso é repetido mais 511 vezes. Em cada repetição, os registros de origem e destino, <literal>%si</literal> e <literal>%di</literal>, são incrementados por um. Assim, após a conclusão da cópia de 512 bytes, <literal>%di</literal> tem o valor <literal>0x600</literal> + <literal>512</literal> = <literal>0x800</literal> e <literal>%si</literal> tem o valor <literal>0x7c00</literal> + <literal>512</literal> = <literal>0x7e00</literal>; assim, completamos o código de <emphasis>relocação</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": 229434, "web_url": "https://translate-dev.freebsd.org/translate/freebsd-doc/boooks_arch-handbook/pt_BR/?checksum=e1698cab3661c13d", "url": "https://translate-dev.freebsd.org/api/units/229434/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-01-09T14:37:30.617067Z" }{ "translation": "