text stringlengths 1 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 func1 .type func1, @function func1: rep; ret .size... |
;******************************************************************************* ; 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 ; RX and TX... |
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 page-related variables, called ... |
; 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: write... |
.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], 2880 j... |
; 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) LPM R1, Z+ LPM R2, Z LDI... |
; 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 source co... |
<% 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 lpe |
; 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.prokushev@gmail.com) ;... |
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 ld a, [rLY] cp 144 jr c, .... |
; 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... |
_chmod: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(int argc, char* argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 e5 mov %esp,%ebp d: 51 push %ecx e: 83 ec 14 sub $0... |
; ; Startup for Colecovision ; ; 1k of memory module coleco_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; Some scope definitions ;-------- EXTERN _main ;main() is always external to crt0 code PUBLIC cleanup ;jp'd to by exit() PUBLIC l_dcal ;jp(hl) P... |
; A064754: a(n) = n*8^n - 1. ; 7,127,1535,16383,163839,1572863,14680063,134217727,1207959551,10737418239,94489280511,824633720831,7146825580543,61572651155455,527765581332479,4503599627370495,38280596832649215,324259173170675711,2738188573441261567,23058430092136939519,193690812773950291967,1623313478486440542207,13576... |
ViridianCity_h: db OVERWORLD ; tileset db VIRIDIAN_CITY_HEIGHT, VIRIDIAN_CITY_WIDTH ; dimensions (y, x) dw ViridianCityBlocks, ViridianCityTextPointers, ViridianCityScript ; blocks, texts, scripts db NORTH | SOUTH | WEST ; connections NORTH_MAP_CONNECTION VIRIDIAN_CITY, ROUTE_2, 5, 0, Route2Blocks SOUTH_MAP_CONNECTION ... |
org $8000 main call PTxPlay loop halt call PTxPlay+5 ld a,$7f in a,($fe) rra jr c,loop call PTxPlay+8 ret org $c000 PTxPlay incbin PTxPlay incbin cycler.pt3 end main |
; A115241: Square array read by antidiagonals: T(n,p) is the number of linearly independent, homogeneous harmonic polynomials of degree n in p variables (n,p>=1). ; Submitted by Christian Krause ; 1,2,0,3,2,0,4,5,2,0,5,9,7,2,0,6,14,16,9,2,0,7,20,30,25,11,2,0,8,27,50,55,36,13,2,0,9,35,77,105,91,49,15,2,0,10,44,112,182,1... |
; A037236: Expansion of (3+2*x^2)/(1-x)^4. ; 3,12,32,68,125,208,322,472,663,900,1188,1532,1937,2408,2950,3568,4267,5052,5928,6900,7973,9152,10442,11848,13375,15028,16812,18732,20793,23000,25358,27872,30547,33388 mov $4,$0 add $0,1 mov $1,$0 mul $1,2 add $4,1 mov $3,$4 lpb $0 sub $0,1 add $2,$3 add $1,$2 add $3,2 lpe |
;============================================================== ; Example 5-3 ; Opening top and bottom borders with self modifying interrupt ;============================================================== !cpu 6502 !to "build/example5-4.prg",cbm * = $1000 ;-------------------------------------------------------------- ... |
; A106615: a(n) = numerator of n/(n+14). ; 0,1,1,3,2,5,3,1,4,9,5,11,6,13,1,15,8,17,9,19,10,3,11,23,12,25,13,27,2,29,15,31,16,33,17,5,18,37,19,39,20,41,3,43,22,45,23,47,24,7,25,51,26,53,27,55,4,57,29,59,30,61,31,9,32,65,33,67,34,69,5,71,36,73,37,75,38,11,39,79,40,81,41,83,6,85,43,87,44,89,45,13,46,93,47,95,48,97,7,99 mo... |
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x5a3e, %rsi lea addresses_WC_ht+0x1ca3e, %rdi nop nop nop nop nop cmp %r9, %r9 mov $75, %rcx rep movsw nop nop cmp $16614, %r15 lea addresses_WC_ht+0x148e, %r14 nop nop xor $9... |
.text # To test the MEM_to_EX hazard # To test the WB_to_EX hazard # If the hazard is handled correctly, $a2 should be 8. Otherwise, it may be -1 or something else addi $v0, $zero, 1 addiu $v1, $zero, 2 addiu $a0, $zero, 20 addiu $a1, $zero, 16 addi $t1, $zero, 1 # meaningless instruction, just to avoid other hazards a... |
; c64 input.asm .export _UpdateInput .exportzp _ControllerButtons .exportzp _ControllerButtonsPressed .include "c64.asm" .segment "ZEROPAGE" _ControllerButtons: .res 2 _ControllerButtonsPrevious: .res 2 _ControllerButtonsPressed: .res 2 .segment "CODE" _UpdateInput: ldx #0 @joystickLoop: lda _ControllerButtons,x sta _C... |
;***************************************************************************** ;* Copyright (C) 2013-2017 MulticoreWare, Inc ;* ;* Authors: Praveen Kumar Tiwari <praveen@multicorewareinc.com> ;* Min Chen <chenm003@163.com> ;* ;* This program is free software; you can redistribute it and/or modify ;* it under the terms ... |
; A188943: Decimal expansion of (7+sqrt(13))/6. ; Submitted by Jon Maiga ; 1,7,6,7,5,9,1,8,7,9,2,4,3,9,9,8,2,1,5,5,1,9,8,7,0,2,1,1,2,4,5,0,8,2,6,5,7,7,0,8,5,4,9,4,2,8,9,7,4,2,0,7,7,0,2,1,1,8,4,0,8,8,4,2,7,0,4,5,2,7,8,2,4,7,1,5,5,0,1,7,4,0,8,6,7,4,3,6,5,1,3,6,6,9,7,4,8,4,5,2 mov $1,3 mov $3,$0 mul $3,3 lpb $3 add $1,$2 ... |
; script start: ; asm ; expression AND ; expression > ; expression / ; expression * ; expression + ; value int 2 set r7 2 ; value int 3 set r8 3 add r6 r7 r8 ; value int 7 set r7 7 mul r5 r6 r7 ; value int 8 set r6 8 div r4 r5 r6 ; value int 10 set r5 10 test r4 r5 set r3 1 jg next_0 set r3 0 next_0: ; expression XOR ... |
End of preview. Expand in Data Studio
- Downloads last month
- 10