text stringlengths 2 1.05M |
|---|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x1532, %rbx
nop
sub %r15, %r15
movw $0x6162, (%rbx)
nop
nop
nop
nop
nop
add %r13, %r13
lea addresses_UC_ht+0xac72, %rcx
nop
nop
nop
nop
nop
xor $63492, %r10
movw $0x6... |
;******************************************************************************
;* Copyright (c) 2012 Michael Niedermayer
;*
;* This file is part of FFmpeg.
;*
;* FFmpeg is free software; you can redistribute it and/or
;* modify it under the terms of the GNU Lesser General Public
;* License as published by the Free Sof... |
.file "a30.c"
.text
.globl main
.type main, @function
main:
subl $4, %esp
movl 12(%esp), %eax
movl (%eax), %eax
movl %eax, (%esp)
call toto
.L08048311:
addl $4, %esp
ret
.size main, .-main
# ----------------------
.L08048315:
.p2align 3
# ----------------------
.local ... |
;*******************************************************************************
; MSP430x24x Demo - USCI_A0, UART 9600 Full-Duplex Transceiver, 32kHz ACLK
;
; Description: USCI_A0 communicates continously as fast as possible full-
; duplex with another device. Normal mode is LPM3, with activity only during
... |
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: printer drivers
FILE: pageEnd.asm
AUTHOR: Dave Durran
ROUTINES:
Name Description
---- -----------
PrintEndPage Tidy up the pa... |
; A124502: a(1)=a(2)=1; thereafter, a(n+1) = a(n) + a(n-1) + 1 if n is a multiple of 5, otherwise a(n+1) = a(n) + a(n-1).
; 1,1,2,3,5,9,14,23,37,60,98,158,256,414,670,1085,1755,2840,4595,7435,12031,19466,31497,50963,82460,133424,215884,349308,565192,914500,1479693,2394193,3873886,6268079,10141965,16410045,26552010,4296... |
; A038571: Number of times n must be differentiated to reach 0.
; 0,1,2,1,3,2,2,1,4,3,2,3,3,2,2,1,5,4,4,3,3,2,3,4,4,3,2,3,3,2,2,1,6,5,4,5,4,5,3,4,4,3,2,3,3,4,4,5,5,4,4,3,3,2,3,4,4,3,2,3,3,2,2,1,7,6,6,5,4,5,6,5,4,5,6,5,3,4,4,5,5,4,4,3,3,2,3,4,4,3,5,4,5,4,5,6,6,5,4,5
lpb $0
mov $2,$0
seq $2,38554 ; Derivative of n: ... |
.thumb
.org 0x0
mov r3,#0
ldr r0,NewTSA
ldr r1,BG1MapBuffer
loop:
ldr r2,[r0]
str r2,[r1]
add r0,#4
add r1,#4
add r3,#1
ldr r2,=0x200
cmp r3,r2
bhs stoploop
b loop
stoploop:
ldr r0,=0x0809C676|1
bx r0
.align
.ltorg
BG1MapBuffer:
.long 0x020234A8
NewTSA:
|
%include 'textmode.h'
; Make the whole screen purple
xor di, di
mov cx, 0x07d0
mov ah, 0x99
rep stosw
mov si, brick
mov di, 272
call drawsprite
mov di, 1536
call drawsprite
mov di, 1552
call drawsprite
mov di, 1566
call drawsprite
floor:
mov di, 2720
add word [floor + 1], 16
call drawsprite
cmp word [floor + 1... |
; A184063: Number of (n+1) X 2 binary arrays with rows and columns in nondecreasing order and with no 2 X 2 subblock sum differing from a horizontal or vertical neighbor subblock sum by more than one.
; 7,11,20,34,54,81,116,160,214,279,356,446,550,669,804,956,1126,1315,1524,1754,2006,2281,2580,2904,3254,3631,4036,4470,... |
;
; FibonacciAsm.asm
;
; Created: 9/17/2021 9:14:24 AM
; Author : Harish
;
;Assembly Code to store first 10 numbers of Fibonacci Series(Starting with 0,1) in Registers R11 to R20.
.CSEG
LDI R21, LOW(RAMEND)
OUT SPL, R21
LDI R21, HIGH(RAMEND)
OUT SPH, R21
LDI ZL, LOW(NUM<<1)
LDI ZH, HIGH(NUM<<1)
... |
; A022976: 20-n.
; 20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,-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,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40
sub $0,20
mul $0,-120259084286
mov $1,$0
div $1,120259084286
|
Codigo Segment
public delay1,delay2
Assume cs:codigo
Delay1 proc Far
eti:
loop eti
ret
Delay1 endP
Delay2 proc Far ;como estan en otro segmento de codigo tiene que ser Far
mov bp,sp
mov cx,2*2[bp]
eti1:
loop eti1
ret 2 ;hace pop cx
Delay2 endP
Codigo EndS
End |
; A168175: Expansion of 1/(1 - 4*x + 7*x^2).
; Submitted by Jon Maiga
; 1,4,9,8,-31,-180,-503,-752,513,7316,25673,51480,26209,-255524,-1205559,-3033568,-3695359,6453540,51681673,161551912,284435937,6880364,-1963530103,-7902282960,-17864421119,-16141703756,60484132809,354928457528,996324900449,1500800399100,-97107270674... |
; A047229: Numbers that are congruent to {0, 2, 3, 4} mod 6.
; 0,2,3,4,6,8,9,10,12,14,15,16,18,20,21,22,24,26,27,28,30,32,33,34,36,38,39,40,42,44,45,46,48,50,51,52,54,56,57,58,60,62,63,64,66,68,69,70,72,74,75,76,78,80,81,82,84,86,87,88,90,92,93,94,96,98,99,100,102,104,105,106,108,110,111,112,114,116,117,118,120,122,123... |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright(c) 2011-2016 Intel Corporation All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; * Redistributions of so... |
<%
from pwnlib.shellcraft.arm.linux import syscall
%>
<%page args="file, tvp"/>
<%docstring>
Invokes the syscall utimes. See 'man 2 utimes' for more information.
Arguments:
file(char): file
tvp(timeval): tvp
</%docstring>
${syscall('SYS_utimes', file, tvp)}
|
; A313682: Coordination sequence Gal.5.55.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; 1,5,10,15,19,23,27,31,36,41,46,51,56,61,65,69,73,77,82,87,92,97,102,107,111,115,119,123,128,133,138,143,148,153,157,161,165,169,174,179,184,1... |
; A226555: Numerators of row sums of the triangular enumeration of rational numbers A226314(n,k) / A054531(n,k), 1 <= k <= n.
; Submitted by Simon Strandgaard
; 1,5,4,13,7,25,10,33,17,45,16,69,19,65,38,81,25,109,28,125,55,105,34,177,53,125,68,181,43,241,46,193,89,165,100,301,55,185,106,321,61,349,64,293,167,225,70,433,... |
; A119575: Binomial(2*n,n)*(n+3)^2/(n+1).
; Submitted by Jamie Morken(s2)
; 9,16,50,180,686,2688,10692,42900,173030,700128,2838524,11522056,46802700,190182400,772913160,3141129780,12764118870,51857916000,210638666700,855355383960,3472419702180,14092569803520,57176602275000
mov $2,$0
seq $0,108 ; Catalan numbers: C(n) ... |
; A170209: Number of reduced words of length n in Coxeter group on 8 generators S_i with relations (S_i)^2 = (S_i S_j)^40 = I.
; 1,8,56,392,2744,19208,134456,941192,6588344,46118408,322828856,2259801992,15818613944,110730297608,775112083256,5425784582792,37980492079544,265863444556808,1861044111897656,13027308783283592... |
; void *sms_set_vram(unsigned char c, unsigned int n)
SECTION code_clib
SECTION code_crt_common
PUBLIC _sms_set_vram_callee
EXTERN asm_sms_set_vram
_sms_set_vram_callee:
pop hl
dec sp
pop af
pop bc
push hl
jp asm_sms_set_vram
|
INCLUDE "SoundSystemNotes.inc"
INCLUDE "SoundSystem.def"
INCLUDE "SoundSystem.inc"
; tabs=8,hard
;***************************************************************************************************************************
;* default behaviors
;******************************************************************... |
; A066999: a(n) = 3^n * Sum_{i=1..n} i^3/3^i.
; Submitted by Jamie Morken(s2)
; 1,11,60,244,857,2787,8704,26624,80601,242803,729740,2190948,6575041,19727867,59186976,177565024,532699985,1598105787,4794324220,14382980660,43148951241,129446864371,388340605280,1165021829664,3495065504617,10485196531427,31455589613964,9436... |
; uint16_t esx_f_write(unsigned char handle, void *src, size_t nbytes)
SECTION code_esxdos
PUBLIC _esx_f_write
EXTERN l0_esx_f_write_callee
_esx_f_write:
pop de
dec sp
pop af
pop hl
pop bc
push bc
push hl
push af
inc sp
push de
jp l0_esx_f_write_callee
|
; A022105: Fibonacci sequence beginning 1, 15.
; 1,15,16,31,47,78,125,203,328,531,859,1390,2249,3639,5888,9527,15415,24942,40357,65299,105656,170955,276611,447566,724177,1171743,1895920,3067663,4963583,8031246,12994829
mov $1,1
mov $2,5
lpb $0,1
sub $0,1
add $1,$2
add $2,10
mov $3,$1
mov $1,$2
mov $2,$3
lp... |
; A310373: Coordination sequence Gal.6.150.5 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings.
; Submitted by Christian Krause
; 1,4,10,14,18,23,27,31,36,40,44,50,54,58,64,68,72,77,81,85,90,94,98,104,108,112,118,122,126,131,135,139,144,1... |
;/*!
; @file
;
; @brief BvsSavRedrawWait DOS wrapper
;
; (c) osFree Project 2021, <http://www.osFree.org>
; for licence see licence.txt in root directory, or project website
;
; This is Family API implementation for DOS, used with BIND tools
; to link required API
;
; @author Yuri Prokushev (yuri.prokushe... |
SECTION "Stack", WRAM0[$C080]
ds $80 - 1
wStack::
SECTION "Init", ROM0
Init:
di
cp $11
ld a, 1
jr z, .cgb
xor a
.cgb
ld [hGBC], a
xor a
ldx [rIF], [rIE]
ldx [rRP]
ldx [rSCX], [rSCY]
ldx [rSB], [rSC]
ldx [rWX], [rWY]
ldx [rBGP], [rOBP0], [rOBP1]
ldx [rTMA], [rTAC]
put [rTAC], rTAC_4096Hz
.wait... |
; A288170: a(n) = 3*a(n-1) - a(n-2) - 4*a(n-3) + 2*a(n-4) for n >= 4, where a(0) = 2, a(1) = 4, a(2) = 8, a(3) = 16, a(4) = 34, a(5) = 70 .
; 2,4,8,16,34,70,144,292,590,1186,2380,4768,9546,19102,38216,76444,152902,305818,611652,1223320,2446658,4893334,9786688,19573396,39146814,78293650,156587324,313174672,626349370,125... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 5