content
stringlengths
23
1.05M
{ let r := 0 for { let i := 0 } lt(i, 1048576) { i := add(i, 1) } { 1 2 1 L011: L012: L013: L014: L015: L016: L017: L018: L019: L0110: L0111: L0112: L0113: L0114: L0115: L0116: L021: L022: L023: L024: L025: L026: L027: L028: L029: L0210: L0211: L0212: L0213: L0214: L0215: L0216: pop dup2 L031: L03...
.macro SET_FUNC name, value .global \name .type \name, %function .set \name, \value .endm SET_FUNC AnimaTriangle, (0x0802C834+1)
[BITS 64] %include "parameters.inc" extern exit global movdep_int64 section .text movdep_int64: push rbp mov rax, ITERATIONS_movself_int64 mov rbx, 1 mov rcx, 2 mov rdx, 3 mov rsi, 4 mov rdi, 5 mov r8, 6 mov r9, 7 mov r10, 8 mov r11, 9 mov r12, 10 mov r13, 11 mo...
.thumb @Master Key Usability @r0 holds ram character pointer push {r4,r14} mov r4, r0 ldr r3, ChestCheck @check if on top of a chest tile? bl Jump lsl r0,r0, #0x18 cmp r0, #0x0 bne TrueCase mov r0, r4 ldr r3, DoorCheck @check if next to a door tile? bl Jump lsl r0,r0, #0x18 cmp r0, #0x0 bne TrueCase mov r0, r...
include vram.i _text segment para public use32 'code' assume cs:CGROUP ;void vram_set_colors(void *v, int startix, int count, Color *cmap); public vram_set_colors vram_set_colors proc near jscp struc ;vram_set_colors parameter structure jsc_ebp dd ? jsc_ret dd ? jsc_v dd ? jsc_startix dd ? jsc_co...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; Composite2 mov ecx, 0x18 xor ebx, ebx xor eax, eax inc eax ;TEST_BEGIN_RECORDING again: cmp ebx, ecx je done inc ebx add eax, eax jmp again done: inc eax ;TEST_END_RECORDING
;; last edit date: 2016/10/25 ;; author: Forec ;; LICENSE ;; Copyright (c) 2015-2017, Forec <forec@bupt.edu.cn> ;; Permission to use, copy, modify, and/or distribute this code for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission notice appear in all ...
MODULE conio_vars SECTION data_clib PUBLIC __rx78_ink PUBLIC __rx78_paper __rx78_ink: defb 0x07 __rx78_paper: defb 0x00 SECTION code_crt_init ld hl, initial_palette ld b, 8 pal_loop: ld a,(hl) inc hl ld c,(hl) inc hl ...
/* @moveu @move */ ; Ullrich von Bassewitz, 2003-08-20 ; Performance increase (about 20%) by ; Christian Krueger, 2009-09-13 .proc @moveu ; assert Y = 0 ptr1 = edx ptr2 = ecx ptr3 = eax stx @sp ldy #0 ldx ptr3+1 ; Get high byte of n beq L2 ; Jump if zero L1: .rept 2 ...
section .data global garbage: blurp db "yayaya" garbage db "hello, world!"
.data range: .asciiz "Enter Positive Integer " sum: .asciiz "The Sum is: " .text .globl main .ent main main: li $v0,4 la $a0,range syscall li $v0,5 syscall move $t0,$v0 #counter li, $s0, 0 loop: beq $t0, $0, exit add $s0, $s0, $t0 addi $t0, $t0, -1 j loop ...
.386p ASSUME CS:CODE PUBLIC TEST_R8_I8 PUBLIC TEST_R32_I32 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; EFLAGS_CF EQU 00001H EFLAGS_PF EQU 00004H EFLAGS_AF EQU 00010H EFLAGS_ZF EQU 00040H EFLAGS_SF EQU 00080H EFLAGS_TRAP ...
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Video drivers FILE: vidcomEntry.asm AUTHOR: Jim DeFrisco ROUTINES: Name Description ---- ----------- DriverStrategy entry point to dri...
db "HANDSTAND@" ; species name dw 407, 1060 ; height, weight db "After doing a" next "handstand to" next "throw off the" page "opponent's timing," next "it presents its" next "fancy kick moves.@"
[org 0x7c00] [bits 16] KERNEL_LOCATION equ 0x8000 mov [BOOT_DISK], dl xor ax, ax mov es, ax mov ds, ax mov bp, 0x8000 mov sp, bp mov bx, KERNEL_LOCATION mov dh, 50 call disk_read after_disk_read: mov ah, 0x0 ; clear screen and set text mode mov al, 0x3 int 0x10 ;Set video mode ;mov ax, 4f...
.global _add #define the function _add: movl 4(%esp), %eax #get the second parameter movl 8(%esp), %edx #get the first parameter addl %edx, %eax #add, store the value on eax ret
INCLUDE "constants/hardware.inc" INCLUDE "constants/games/battleship.inc" INCLUDE "constants/actors.inc" INCLUDE "macros/actors.inc" SECTION "Battleship Actor Animation Data", ROMX xActorShipAnimation:: animation Ship .loop cel forward1, MUSIC_BATTLESHIP_SPEED cel forward2, MUSIC_BATTLESHIP_SPEED go...
SECTION rodata_user PUBLIC _help _help: BINARY "help-zx.txt.zx7"
; A243903: Numbers n such that (number of primes <= n) is greater than or equal to (number of semiprimes <= n). ; 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,29,30,31,32,33 mov $1,$0 sub $1,1 lpb $1 add $0,3 mov $1,23 lpe add $0,1
.386p .387 ; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved. ; Implementation for isWholeNum function ifdef OS2 .model FLAT endif DGROUP group _DATA _DATA segment use32 dword public 'DATA' _DATA ends ifdef OS2 _TEXT ...
UnknownText_0x1b5c10: text "Yes? Ah, <PLAY_G>." para "You're courteous" line "enough to state" para "your name when you" line "call on the phone." done UnknownText_0x1b5c63: text "Yes? Ah, <PLAY_G>." para "You're courteous" line "enough to state" para "your name when you" line "call on the phone." done...
Name: DpolyZclip.asm Type: file Size: 13908 Last-Modified: '1992-09-24T02:25:43Z' SHA-1: FF775105EFA2438B4B1B2BC2691A4959C11A2E82 Description: null
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Impex/UI FILE: uiImportExport.asm AUTHOR: Don Reeves, Jun 1, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name...
SECTION rodata_user PUBLIC _flyer _flyer: defb 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00 defb 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00 defb 0xff, 0x00, 0xfe, 0x00, 0xfc, 0x01, 0xf0, 0x03 defb 0xf0, 0x07, 0xf0, 0x07, 0xe0, 0x0f, 0xe0, 0x0f defb 0x00, 0x0d, 0x00, 0x72, 0x00, 0x3b, 0x80, 0x12 defb 0xc4, 0x01...
ChampionsRoom_h: db GYM ; tileset db CHAMPIONS_ROOM_HEIGHT, CHAMPIONS_ROOM_WIDTH ; dimensions (y, x) dw ChampionsRoom_Blocks ; blocks dw ChampionsRoom_TextPointers ; texts dw ChampionsRoom_Script ; scripts db $0 ; connections dw ChampionsRoom_Object ; objects
.data input_string: .string "Please input a number from 1 to 9 \n" hilo_error_string: .string "Your number was too high or too low! \n" occupied: .string "Please select an empty field! \n" .text ####### # GET INPUT FROM CONSOLE # ------------ # inputs: none # ------------ # outputs: a1 - x center coordinate # ...
#bankdef bits8 { #bits 8 #addr 0x0 #size 0x8 #outp 0x0 } #bankdef bits16 { #bits 16 #addr 0x0 #size 0x8 #outp 8 * 0x8 } #bank bits8 #d8 -1 #res 1 #d8 -1 #bank bits16 #d16 -1 #res 1 #d16 -1 #bank bits8 #res 1 #d8 -1 ; = 0xff00ff00ff000000_ffff0000ffff
; ; Copyright (c) 2011 Intel Corporation ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, ; this list of conditions and the following d...
SCR equ $4000 ; Sets a constant org $8000 ; Where our program will being in the computer's memory MAIN ld bc,STRING ld de,SCR LOOP ; Marker ld a,(bc) cp 0 ; zero not 'o' jr z,EXIT rst $10 inc bc inc de jr LOOP EXIT ret STRING defb...
; uchar tshr_bitmask2px(uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC tshr_bitmask2px EXTERN zx_bitmask2px defc tshr_bitmask2px = zx_bitmask2px
;macros for SNES ;mesen-s can use wdm is as a breakpoint ;for debugging purposes .macro WDM_BREAK number .byte $42, number .endmacro .macro A8 sep #$20 .endmacro .macro A16 rep #$20 .endmacro .macro AXY8 sep #$30 .endmacro .macro AXY16 rep #$30 .endmacro .macro XY8 sep #$10 .endmacro .macro XY16 rep #$...
;---------------------------------------------------------------------------- ; HexCharsOut ; ; Expects: portout = the byte ; portid = the ID of where the byte originated ; ; Returns: Nothing ; ; Changes: Nothing ;---------------------------------------------------------------------------- TITLE HexCharsOut INCLUD...
#Suma 1+2+3+...+n=? .data #zona pentru declararea datelor n: .word 11 #(word=)int n=11 s: .word 0 #int s=0 --- unde vom pune suma .text #codul programului main: #Nu lucram cu variabile, ci cu registrii (direct pe CPU), #ceea ce face ca programul sa se execute foarte rapid #Init...
SECTION code_driver PUBLIC ide_wait_ready EXTERN __IO_IDE_ALT_STATUS EXTERN ide_read_byte ;------------------------------------------------------------------------------ ; IDE internal subroutines ; ; These routines talk to the drive, using the low level I/O. ; Normally a program should not call these directly. ;...
.data msg1: .asciiz "enter an integer : " msg2: .asciiz "your integer is : " .text print_msg1:li $v0,4 la $a0,msg1 syscall read_integer:li $v0,5 syscall la $s0,($v0) #save_integer_in_s0: print_msg2:li $v0,4 la $a0,msg2 syscall print_int...
NB1 equ 0C NB2 equ 0D FSR equ 04 INDF equ 00 ;------------- Programme ------------- restart movlw d'10' movwf NB1 ; on met 10 dans NB1 movlw H'11' movwf FSR ; on dit l'adresse de debut de FSR movlw d'5' movwf NB2 movlw d'0' debut addlw d'5' movwf INDF ; on ajoute l...
MODULE set_bkg_tiles PUBLIC set_bkg_tiles PUBLIC _set_bkg_tiles EXTERN set_xy_btt SECTION code_driver INCLUDE "target/gb/def/gb_globals.def" ; void __LIB__ set_bkg_tiles(uint8_t x, uint8_t y, uint8_t w, uint8_t h, unsigned char *tiles) __smallc NONBANKED; set_bkg_tiles:...
; SYNTAX TEST "Packages/User/x86_64 Assembly.tmbundle/Syntaxes/Nasm Assembly.sublime-syntax" org 0x100 ;^^^ support.function.directive section "asdf" align=16 ; ^^^^^^ entity.name.section string.quoted ; ^^^^^ variable.parameter.directive - string - support.function.directive section my_section ...
BattleCommand_Curse: ; curse ld de, wBattleMonType1 ld bc, wPlayerStatLevels ldh a, [hBattleTurn] and a jr z, .go ld de, wEnemyMonType1 ld bc, wEnemyStatLevels .go ; Curse is different for Ghost-types. ld a, [de] cp GHOST jr z, .ghost inc de ld a, [de] cp GHOST jr z, .ghost ; If no stats can be incre...
.macro gaussianBlur(%image_pointer, %image_size) add $t5, %image_pointer, %image_size li $a1, 3 li $t0, 513 sll $t0, $t0, 2 add %image_pointer, %image_pointer, $t0 # starts at (1,1) add $t5, $t5, $t0 # end at (510, 510) createKernel($a1) move $t0, %image_pointer # %image_pointer li $t1, -1 # i counter move $...
; BUFFER handling routines ; 2006.10.01 1.01 buffer test added (at buff_test) (BC) ; ; ax buffer length / buffer free ; al byte in / out ; bx base of buffer ; buf_stt = 0 ; start of buffer buf_end = 2 ; end of buffer buf_put = 4 ; put pointer buf_get = 6 ; get pointer buf_start = 8 ; start...
***************************************************************************** ; Name : IntroLibrary.s ; Coded by : Antiriad (Jonathan Bennett <jon@autoitscript.com>) ; Description : Shared useful functions that can be turned on from IntroConfig.i. ; Date last edited : 04/02/2020 ******************************...
: ; Outside of section SECTION "Anonymous label errors test", ROM0 db :-- ; Reference goes too far back ; Uncomment this if you're a badass with a *lot* of RAM ; REPT 2147483647 ; : ; ENDR ; REPT 2147483647 ; : ; ENDR ; db :+ ; OK ; db :++ ; Reference goes too far :: ; Syntax error, can't export this
Name: zel_mpd0.asm Type: file Size: 194699 Last-Modified: '2016-05-13T04:25:37Z' SHA-1: 14889603A0A7C26E23911E8A64048E1EA0D39051 Description: null
.include "battlescript.s" FALSE equ 0 TRUE equ 1 NULL equ 0 volt_switch_script: attackcanceler accuracycheck 0x081D695E, 0x0 attackstring ppreduce critcalc damagecalc typecalc adjustnormaldamage attackanimation waitanimation effectivenesssound hitanimation 0...
format PE64 console entry start include 'win64w.inc' section '.data' data readable writeable stdout dq ? command db 'c:\windows\system32\cmd.exe', 0h arg1 db '/C "echo Hello isekai!"', 0h startupinfo STARTUPINFO pi PROCESS_INFORMATION section '.text' code readable executable start: fastcall setStdout ...
ASSUME CS:CODE,DS:DATA DATA SEGMENT MSG DB 'MEMORY SIZE IN KILOBYTES =' ; initializing required constants ASCRES DB 4 DUP(?),'HEX',0CH,0AH,'$' RES DW ? HEXCODE DB '0123456789ABCDEF' DATA ENDS ; end of data segment CODE SEGMENT HEX_ASC PROC ; start of ...
EXTERN __imp__midiOutOpen@20 %define midiOutOpen [__imp__midiOutOpen@20] EXTERN __imp__midiOutClose@4 %define midiOutClose [__imp__midiOutClose@4] EXTERN __imp__midiOutShortMsg@8 %define midiOutShortMsg [__imp__midiOutShortMsg@8] EXTERN __imp__GetTickCount@0...
INCLUDE "./src/include/entities.inc" INCLUDE "./src/definitions/definitions.inc" INCLUDE "./src/include/hardware.inc" SECTION "Enemy D", ROM0 /* Update for enemy type D Behavior: - When player is in same view as enemy chase after player - Will keep chasing player until player or the ghost dies ...
.globl main .text main: addi a1, a1, 15 nop addi a2, a2, 16 add a0, a1, a2 li a2,255 lui a3,0x30 sb a2,4(a3) nop nop nop nop nop nop nop nop nop nop nop nop nop
.ORIG x3000 TEST_STRING .FILL x0061 .FILL x0062 .FILL x0063 .FILL x0064 .FILL x0065 .FILL x0066 .FILL x0067 .FILL x0000 Te .FILL 65535 .FILL x12BD Anothing .FILL x0000 .FILL x0061 .FILL x0000 .FILL 65535 x0000 x0000 x0000 .END
global TSS global TSS_size section .data align 4 TSS_begin: dd 0 dd 0xEFFFF0 dd 0x10 times 23 dd 0 TSS_end: TSS dd TSS_begin TSS_size dd TSS_end - TSS_begin
# $s0: i; $s1: infile; $s1: outile; $s1: id # $s2: max_num; $s3: buffer .data in_file: .asciiz "./a.in" out_file: .asciiz "./a.out" .text move $s2, $0 # max_num = 0 li $a0, 8 # new 8 bytes li $v0, 9 # new syscall move $s3, $v0 # save the address into buffer ...
; ::: cpu/cpu.asm #ruledef test { halt => 0x55 } ; ::: code/code.asm halt ; ::: code/code2.asm #include "code.asm" ; ::: code3.asm #include "code/code.asm" ; ::: code/code4.asm #include "../code3.asm" ; ::: code/code5.asm #include "/code3.asm" ; ::: #include "cpu/cpu.asm" #include "code/code.asm" ; =...
; Top-hole Golf ; Copyright 2020-2021 Matthew Clarke terrain_c_BEGIN = * ; ***************** ; *** CONSTANTS *** ; ***************** ;terrain_c_BUFFER_LEN = 4 ;terrain_l_FACTOR_STRS !raw " x1","x2/3","x1/2","x1/3" ;terrain_c_MSG_COL = 36*4 ;terrain_l_STR_OFFSETS !byte 4,0,0 ;terrain_l_BUNK...
SECTION code_fp_am9511 PUBLIC cam32_sdcc___fseq EXTERN cam32_sdcc_readr EXTERN asm_am9511_compare ; Entry: stack: float right, float left, ret .cam32_sdcc___fseq call asm_am9511_compare scf ret Z ccf dec hl ret
global start %include 'common.inc' IS_VGA equ 1 ;set to 0 to assemble for EGA WORD_OUTS_OK equ 1 ;set to 0 to assemble for ; computers that can't handle ; word outs to indexed VGA registers SCREEN_WIDTH equ 640 SCREEN_HEIGHT equ 350 TEXT_LINE_NUM ...
; [ *************************************** PRG 2 ($8000 - $9FFF) *************************************** ] Main: sei ; disable irqs cld ; disable decimal mode ldx #$ff ; set the stack pointer to $01ff txs stx asp ; set the action stack pointer to $07ff lda #0 sta...
%define SECTORS 16 ; keep it under 18 %define IMAGE_SIZE ((SECTORS + 1) * 512) ; SECTORS + 1 (~= 18) * 512 bytes %define STACK_SIZE 256 ; 4096 bytes in paragraphs bits 16 ; 16 bit mode ;org 0x7C00 ; BIOS boot sector entry point start: cli ; disable interrupts ; ; Notes: ; 1 paragrap...
.data PUBLIC get_camera_data PUBLIC get_camera_data_end PUBLIC get_pause_value PUBLIC get_pause_value_end PUBLIC get_controller_input PUBLIC get_controller_input_end ;; Function that intercepts the values written into the camera get_camera_data PROC push r11 lea r11,[get_camera_data+200h]; pushf push...
;****************************************************************************** ;* add_bitmaps.asm: SSE2 and x86 add_bitmaps ;****************************************************************************** ;* Copyright (C) 2013 rcombs <rcombs@rcombs.me> ;* ;* This file is part of libass. ;* ;* Permission to use, copy, m...
<% from pwnlib.shellcraft import mips from pwnlib.util.net import sockaddr %> <%page args="host, port, network='ipv4'"/> <%docstring> Connects to the host on the specified port. Network is either 'ipv4' or 'ipv6'. Leaves the connected socket in $s0. </%docstring> <% sockaddr, addr_len, address_...
.thumb .org 0x0 @called at 75D00 push {r14} mov r0,#2 ldr r1,Func_A240 @copies text to ram mov r14,r1 .short 0xF800 mov r4,r0 ldr r1,Custom_Message_Func mov r14,r1 .short 0xF800 ldr r1,Func_3EDC mov r14,r1 .short 0xF800 pop {r1} bx r1 .align Func_A240: .long 0x0800A240 Func_3EDC: .long 0x08003EDC Custom_M...
;; ; ; Name: stager_sock_reverse_nf.asm ; Qualities: Null-Free ; Platforms: MacOS X / PPC ; Authors: H D Moore <hdm [at] metasploit.com> ; Version: $Revision: 1612 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyri...
; DV3 Q68 Hold / Release sector transfer buffer 1.02  2017 - 2020 W. Lenerz ; based on ; DV3 QXL Hard Disk Hold / Release controller  1998 Tony Tebby ; 1.02 mark card as recently used (adapted from MK's code for qlsd) ; 1.01 adapted for Q68, use sys_cdiu (wl) section dv3 xdef hd_hold xdef hd_release in...
ld A, (BC) ld A, (DE) ld (BC), A ld (DE), A ld HL, (08fdH) ld HL, (0dcfeH) ld A, (08fdH) ld A, (0dcfeH) ld (08fdH), HL ld (0dcfeH), HL ld (08fdH), A ld (0dcfeH), A ld B, B ld B, C ld B, D ld B, E ld B, H ld B, L ld B, (HL) ld B, A ld C, B ld C, C ld C, D ld C, E ld C, H ld C, L ld C, (HL) ld...
// Call returns wrong value // Reported by Clay Cowgill as an NPE (which has been fixed - but this return-value problem has popped up instead) // Caused by constant loop head unroll // Commodore 64 PRG executable file .file [name="loophead-problem-2.prg", type="prg", segments="Program"] .segmentdef Program [segments=...
global _main extern _printf section .text _main: push message call _printf add esp,4 ret message: db 'Hello world', 10, 0
; A211004: Number of distinct regions in the set of partitions of n. ; 1,2,3,5,7,9,12,15,18,22,26,30,35,40,45,51 add $0,1 lpb $0,1 mov $2,$0 sub $0,1 add $1,$2 sub $0,2 lpe
SECTION code_clib SECTION code_l PUBLIC l_lsr_hl INCLUDE "config_private.inc" ; logical shift right 16-bit unsigned int ; ; enter : hl = 16-bit number ; a = shift amount ; ; exit : hl = hl >> a ; ; uses : af, b, hl IF __CLIB_OPT_IMATH_SELECT & $02 EXTERN l_fast_lsr_h...
#include "Platform.inc" #include "InitialisationChain.inc" #include "TestDoubles.inc" radix decimal udata global calledInitialiseAfterButtons calledInitialiseAfterButtons res 1 InitialiseAfterButtonsMock code global initialiseInitialiseAfterButtonsMock global INITIALISE_AFTER_BUTTONS initialiseInitialiseAf...
;; -*- beebasm -*- MACRO SELECT_MUSIC_SLOT { lda &f4:pha lda swram_slots_base + SLOT_MUSIC sta &f4:sta &fe30 } ENDMACRO MACRO MUSIC_JUMP_INIT_TUNE { SELECT_MUSIC_SLOT jsr music_init_tune RESTORE_SLOT } ENDMACRO MACRO MUSIC_JUMP_VGM_UPDATE { SELECT_MUSIC_SLOT jsr vgm_update RESTOR...
dnl ARM64 mpn_and_n, mpn_andn_n. mpn_nand_n, etc. dnl Contributed to the GNU project by Torbjörn Granlund. dnl Copyright 2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of ...
TITLE Testing the Link Library (TestLib.asm) ; Testing the Irvine32 Library. ; Last update: 09/8/01 INCLUDE Irvine32.inc CR = 0Dh ; carriage return LF = 0Ah ; line feed .data rand1 BYTE "Generating 20 random integers between " BYTE "0 and 990:",CR,LF,0 rand2 BYTE "Generating 20 ran...
; Initialise the Procedure Thing V1.00  1990 Tony Tebby QJUMP xdef pr_init xdef prc_name xref.l pr_vers xref gu_thzlk xref gu_achpp xref pr_addp xref pr_remp xref pr_find xref pr_mkls xref pr_usep ...
.data symbol: .space 28 array: .space 28 str_space: .asciiz " " str_enter: .asciiz "\n" .macro push(%x) sw %x, 0($sp) subi $sp, $sp, 4 .end_macro .macro pop(%x) addi $sp, $sp, 4 lw %x, 0($sp) .end_macro .text li $v0, 5 syscall move $s0, $v0 li $a0, 0 jal FullArray li $v0, 10 syscall FullArray: pus...
; $Id: bit_open.asm,v 1.4 2016-06-16 20:23:51 dom Exp $ ; ; MSX bit sound functions ; ; void bit_open(); ; ; Stefano Bodrato - 3/12/2007 ; SECTION code_clib PUBLIC bit_open PUBLIC _bit_open EXTERN __snd_tick ;Port 0AAh, PPI Port C - Keyboard Row,LED,Cassette (Read/Write) ; Bit Name Exp...
;; -*- mode: asm -*- ;; ;; This file is part of a Supersingular Isogeny Key Encapsulation (SIKE) over P434 for Commodore 64. ;; Copyright (c) 2020 isis lovecruft ;; See LICENSE for licensing information. ;; ;; Authors: ;; - isis agora lovecruft <isis@patternsinthevoid.net> ;; Montgomery x-coordinate elliptic curve ari...
$NOMOD51 ; ; #include "hboot_config.h" #include "efm8_device.h" #define BL_SIGNATURE 0xA5 NAME BOOT_STARTUP PUBLIC boot_otp PUBLIC _flash_readByte PUBLIC ?C_STARTUP EXTRN CODE (?C_START) ; Declare and locate all memory segments used by the bootloader ?BL_EXTRA SEGMENT CODE AT BL_LIMIT...
; A028731: Nonsquares mod 18. ; 2,3,5,6,8,11,12,14,15,17 lpb $0 mov $1,3 add $2,$0 div $0,5 lpe mul $1,$2 div $1,2 add $1,2 mov $0,$1
; 0001 - Verify load file .segment "VECTORS" .word $eaea .word init .word $eaea .code init: lda #$42
.include "msp430x2xx.inc" CALBC1_16MHZ equ 0x10F9 ; address where the clock calibration data's stored CALDCO_16MHZ equ 0x10F8 ; address where the clock calibration data's stored GIE equ 0x08 TA0CTL equ 0x0160 TA0CCTL0 equ 0x162 TA0CCR0 equ 0x0172 TA0CCTL1 equ 0x164 TA0CCR1 equ 0x0174 TA0CCTL2 equ 0x166 TA0CCR2 equ...
include 'format/format.inc' format ELF64 section '.text' executable public func ; void func (int32_t* input_array, size_t size); func: ; RDI - поінтер на початок масиву ; RSI - size ; i - rax, j - rbx push rbx dec rsi ; зменшуємо rsi, щоб цикл виконувся до індексу size-1 xor rax, ...
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: list.asm ; Purpose: LIST command ; Created: 7th March 2021 ; Reviewed: 11th March 2021 ; Author: Paul Ro...
section .stivale2hdr write stivale2_header: .entry_point: dq 0 .stack: dq stack.top .flags: dq 0 .tags: dq fb_tag section .bss stack: resb 4096 .top: section .data fb_tag: .id: dq 0x3ecc1bc43d0f7971 .next: dq fb_mtrr ;define it later .fb_width: dw 0 ;best find .fb_height: dw 0 ;bes...
addi $s0, $zero, 2 addi $s1, $zero, 3 mult $s1, $s0
Dump of assembler code from 0x555555555faf to 0x555555557008: => 0x0000555555555faf: push rbp 0x0000555555555fb0: mov rbp,rsp 0x0000555555555fb3: sub rsp,0xd0 0x0000555555555fba: mov DWORD PTR [rbp-0xc4],edi 0x0000555555555fc0: mov QWORD PTR [rbp-0xd0],rsi 0x0000555555555fc7: mov ecx,0x0...
; ; Amstrad CPC font, modified to ZX code page ; ; Extracted from the CPC464 ROM ; SECTION rodata_font SECTION rodata_font_8x8 PUBLIC _zx7_font_8x8_cpc_system PUBLIC _zx7_font_8x8_cpc_system_end _zx7_font_8x8_cpc_system: BINARY "font_8x8_cpc_system.bin.zx7" _zx7_font_8x8_cpc_system_end:
bits 64 movhpd xmm0,[rdi+2] movhpd xmm0,qword [rdi+2] movhpd [rsi+3],xmm1 movhpd qword [rsi+3],xmm1 vmovhpd xmm2,xmm1,[rax+4] vmovhpd xmm2,xmm1,qword [rax+4] vmovhpd xmm3,[rax+4] vmovhpd xmm3,qword [rax+4] vmovhpd [rcx+5],xmm4 vmovhpd qword [rcx+5],xmm4
; SBAS_CMPSTT - Compile Statement Table V2.00  1994 Tony Tebby ; ; 2003-02-03 2.01 Fixed bug in the handling of dynamically sized compiler ; tokens (i.e. only bo.formp). ; In this case a PROCedure with 358 parameters (sic! I'm not ; kidding, this was real life code!) crashed SBasic (MK) secti...
Route24Mons: db $19 db 12,BELLSPROUT ;day db 12,ABRA db 13,MARILL db 14,BELLSPROUT;day db 14,ODDISH db 15,PIDGEY db 13,PIDGEOTTO ;day db 16,HOPPIP db 17,VENONAT db 17,MARILL db $00
.data hello_msg: .asciiz "\nHello Friend.\n\n" .text main: la $a0, hello_msg jal print_string j terminate print_string: li $v0, 4 syscall jr $ra terminate: li $v0, 10 syscall
global _mandelbrot_int_nosoi ; This iteration function was generated by GCC from the following code, using ; optimizations -O3 -fomit-frame-pointer ; ;#define multiply_and_shift(input1, input2, output, shift) \ ; asm ("imull %1;" \ ; "shrdl " #shift ", %%edx, %%eax" \ ; :"=a"(output) \ ; :"r"(input1...
; ; LAB02B.asm ; ; Created: 2017/8/27 0:22:18 ; Author : LI JINGCHENG ; ; Replace with your application code .include "m2560def.inc" .def ai = r11 .def result_low = r24 .def result_high = r25 .def one = r12 .def number = r13 .def pow = r14 .def ten = r15 .def three = r16 .def count = r17 .def...
<% from pwnlib.shellcraft import amd64 %> <%page args="fd=0, buffer='rsp', count=8"/> <%docstring> Reads data from the file descriptor into the provided buffer. This is a one-shot and does not fill the request. </%docstring> ${amd64.linux.syscall('SYS_read', fd, buffer, count)}
db "TEMPORAL@" ; species name db "This #MON can" next "control the flow" next "of time. It uses" page "this power to" next "travel through the" next "past and future.@"
origin $00000A99 text_savescreen: db "New Data" db ENDSTRING
; QXL clear display  1999 Tony Tebby ; 2005.01.10 1.01 completely revamped version (BC) section con xdef cn_disp_clear xdef cn_scrn_clear xdef cn_copy_clear include 'dev8_smsq_qxl_keys' cnd.reg reg a0/a1 ;--- ; clear screen and copy ;+++ cn_disp_clear bsr.s cn_scrn_clear bsr.s cn_copy_clear moveq #0,d0...
; void print(int stdout_stderr, char* str, size_t size); global print section .text print: mov eax,4 ; write syscall int 0x80 ret
; Credits SE02B: DEFM "Code, GFX, Story etc",0 SE02D: DEFM "Patrick Prendergast",0 SE02F: DEFM "Acknowledgements",0 SE031: DEFM "Durk Kingma - Grayscale",0 SE033: DEFM "Kerey Roper - Huffman",0 SE035: DEFM "Joe Pemberton - RLE",0 SE037: DEFM "Joe Wingbermuehle - Ion",0 SE039: DEFM "Tijl Coosemans - Venus",0 SE03B: DEFM...