Atlas - halfadder.s
Home / ext / JunkDrawer / misc / vh Lines: 1 | Size: 885 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1 .section __TEXT,__text,regular,pure_instructions 2 .build_version macos, 26, 0 sdk_version 26, 0 3 .globl _halfAdder ; -- Begin function halfAdder 4 .p2align 2 5_halfAdder: ; @halfAdder 6 .cfi_startproc 7; %bb.0: 8 sub sp, sp, #32 9 stp x29, x30, [sp, #16] ; 16-byte Folded Spill 10 add x29, sp, #16 11 .cfi_def_cfa w29, 16 12 .cfi_offset w30, -8 13 .cfi_offset w29, -16 14 sturb w0, [x29, #-3] 15 sturb w1, [x29, #-4] 16 ldurb w9, [x29, #-3] 17 ldurb w8, [x29, #-4] 18 and w0, w9, #0x1 19 and w1, w8, #0x1 20 bl _XOR 21 sturb w0, [x29, #-2] 22 ldurb w9, [x29, #-3] 23 ldurb w8, [x29, #-4] 24 and w0, w9, #0x1 25 and w1, w8, #0x1 26 bl _AND 27 sturb w0, [x29, #-1] 28 ldurh w0, [x29, #-2] 29 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload 30 add sp, sp, #32 31 ret 32 .cfi_endproc 33 ; -- End function 34.subsections_via_symbols 35[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.