Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

  • a3483c2
  • /
  • ntrulpr761
  • /
  • m4f
  • /
  • Rqmul_byteToShort_761.S
Raw File Download
Permalinks

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • content
  • directory
content badge Iframe embedding
swh:1:cnt:456e78e2a1d62b634a2cc4adab06399683713848
directory badge Iframe embedding
swh:1:dir:5f3a51315c7e41718a82b21f7948f737326c1616
Citations

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • content
  • directory
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Rqmul_byteToShort_761.S
.p2align 2,,3
.syntax unified
.text
.global byteToShort_761
.type byteToShort_761, %function
byteToShort_761:
    push {r2-r12, lr}
    add.w r2, r1, #760
body:
    ldr.w r4, [r1, #4]
    ldr.w r5, [r1, #8]
    ldr.w r6, [r1, #12]
    ldr.w r7, [r1, #16]
    ldr.w r3, [r1], #20
    sbfx r8, r3, #0, #8
    sbfx r9, r3, #8, #8
    pkhbt r8, r8, r9, lsl #16 @ 0
    sbfx r9, r3, #16, #8
    sbfx r10, r3, #24, #8
    pkhbt r9, r9, r10, lsl #16 @ 4
    sbfx r10, r4, #0, #8
    sbfx r11, r4, #8, #8
    pkhbt r10, r10, r11, lsl #16 @ 8
    sbfx r11, r4, #16, #8
    sbfx r12, r4, #24, #8
    pkhbt r11, r11, r12, lsl #16 @ 12
    sbfx r12, r5, #0, #8
    sbfx lr, r5, #8, #8
    pkhbt r12, r12, lr, lsl #16 @ 16
    sbfx lr, r5, #16, #8
    sbfx r3, r5, #24, #8
    pkhbt lr, lr, r3, lsl #16 @ 20
    sbfx r3, r6, #0, #8
    sbfx r4, r6, #8, #8
    pkhbt r3, r3, r4, lsl #16 @ 24
    sbfx r4, r6, #16, #8
    sbfx r5, r6, #24, #8
    pkhbt r4, r4, r5, lsl #16 @ 28
    sbfx r5, r7, #0, #8
    sbfx r6, r7, #8, #8
    pkhbt r5, r5, r6, lsl #16
    sbfx r6, r7, #16, #8
    sbfx r7, r7, #24, #8
    pkhbt r6, r6, r7, lsl #16
    str.w r9, [r0, #4]
    str.w r10, [r0, #8]
    str.w r11, [r0, #12]
    str.w r12, [r0, #16]
    str.w lr, [r0, #20]
    str.w r3, [r0, #24]
    str.w r4, [r0, #28]
    str.w r5, [r0, #32]
    str.w r6, [r0, #36]
    str.w r8, [r0], #40
    cmp.w r1, r2
    bne.w body
    ldr.w r3, [r1]
    sbfx r3, r3, #0, #8
    mov.w r4, #0
    pkhbt r3, r3, r4
    strh.w r3, [r0]
    pop {r2-r12, pc}

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Contact— JavaScript license information— Web API

back to top