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...
_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 ...
; ; 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 ...
; 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_CONNE...
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...
;============================================================== ; 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 m...
.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 ...
; 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 _Co...
;***************************************************************************** ;* 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 t...
; 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,...
; script start: ; asm ; expression AND ; expression > ; expression / ; expression * ; expression + ; value int 2 set r7 2 ; value int 3 ...
; A026044: a(n) = (d(n)-r(n))/2, where d = A026043 and r is the periodic sequence with fundamental period (1,1,0,0). ; 22,33,49,70,97,132,176,229,292,367,455,556,671,802,950,1115,1298,1501,1725,1970,2237,2528,2844,3185,3552,3947,4371,4824,5307,5822,6370,6951,7566,8217,8905,9630,10393,11196,12040,12925,13852,14823,15839...
-- HUMAN RESOURCE MACHINE PROGRAM -- -- 02-Busy-Mail-Room - SIZE 3/3 - SPEED 30/25 -- a: INBOX OUTBOX JUMP a
; A116996: Partial sums of A116966. ; 0,1,4,6,10,15,22,28,36,45,56,66,78,91,106,120,136,153,172,190,210,231,254,276,300,325,352,378,406,435,466,496,528,561,596,630,666,703,742,780,820,861,904,946,990,1035,1082,1128,1176,1225 mul $0,2 lpb $0 add $1,$0 mov $2,$0 sub $0,1 trn $2,6 mov $3,2 trn $3,$0 sub $0,...
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x25e4, %rdx nop add $40472, %r13 mov (%rdx), %bp nop nop nop cmp $285, %r8 lea addresses_WC_ht+0x1ae24, %rsi lea addresses_A_ht+0x7058, %rdi nop nop nop nop sub %rbp, %rbp mov...
; A035492: Position of card 1 after n-th shuffle in Guy's shuffling problem (A035485). ; Submitted by Jon Maiga ; 1,2,4,1,2,4,8,1,2,4,8,16,7,14,28,25,17,34,31,23,5,10,20,40,31,11,22,44,31,3,6,12,24,48,27,54,35,70,63,47,13,26,52,17,34,68,43,86,75,51,1,2,4,8,16,32,64,13,26,52,104,85,45,90,51,102,71,7,14,28,56,112,79,11,2...
; A262543: Number of rooted asymmetrical polyenoids of type U_n* having n edges. ; 0,2,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,182965127280,686119227300,2579808294648,9723892802904,36734706144304,139067101832008,5274959035...
* = $C000 lda #$10 .loop SEC sbc #$01 jmp .loop
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [var1] .const 3 string [var2] .const 4 int [10] .const 5 int [1] .const 6 string [io.writeln] .const 7 int [20] .end .entity start .valid_context_when (always) .method constructor .v...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1a1a0, %rsi lea addresses_A_ht+0x175a0, %rdi clflush (%rdi) nop nop nop dec %r12 mov $6, %rcx rep movsq nop nop nop nop nop cmp $5717, %r9 lea addresses_D_ht+0x16b80, %rdi sub $60067, ...
.EQU LOOP_COUNT = 0xFF .EQU LOOP_COUNT_IN = 0X5E ;--------------------------------------------- ;- Port Constants ;-------------------------------------------------------------------- .EQU LED_PORT = 0x40 ; port for LED output --- OUTOUT ;-------------------------------------------------------------------- ....
jmp near start mytext db 'L',0x07,'a',0x07,'b',0x07,'e',0x07,'l',0x07,' ',0x07,'o',0x07,\ 'f',0x07,'f',0x07,'s',0x07,'e',0x07,'t',0x07,':',0x07 number db 0,0,0,0,0 start: mov ax,0x7c0 ;设置数据段基地址 mov ds,ax mov ax,0xb800 ;设置附加段...
; int sprintf(char *s, const char *format, ...) SECTION code_clib SECTION code_stdio PUBLIC _sprintf EXTERN asm_sprintf _sprintf: push ix call asm_sprintf pop ix ret
; A333320: a(n) is the number of subsets of {1..n} that contain exactly 4 odd and 1 even numbers. ; 0,0,0,0,0,0,0,3,4,20,25,75,90,210,245,490,560,1008,1134,1890,2100,3300,3630,5445,5940,8580,9295,13013,14014,19110,20475,27300,29120,38080,40460,52020,55080,69768,73644,92055,96900,119700,125685,153615,160930,194810,20366...
*= $0801 .byte $4c,$16,$08,$00,$97,$32 .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$30,$00,$00,$00,$a9 .byte $01,$85,$02 jsr print .byte 13 .text "(up)rorzx" .byte 0 lda #%00011011 sta db lda #%11000110 s...
; A152692: a(n) = n*3^n - n*2^n - n*1^n. ; 0,0,8,54,256,1050,3984,14406,50432,172530,580240,1926078,6328128,20619690,66732176,214742070,687698944,2193154530,6968850192,22073006382,69714716480,219623377050,690291036688,2165100175014,6777906222336,21181376375250,66086766706064,205887508215966,640542672546112,199026537432...
SECTION "Startham forest text strings", ROMX set_text_prefix StarthamForestEndOfDemo dline 0, "Thank you for" dline 1, "playing this short" dline 2, "demo of Aevilia!" dline 3, "Unfortunately this" dline 4, "is as far as it" dline 5, "goes..." dline 6, "So we must bid you" dline 7, "farewell." ...
Name: c-select-j.asm Type: file Size: 44212 Last-Modified: '1992-07-14T23:56:59Z' SHA-1: 50632E9C358C653FD7C5113BC4CF23DF9E1C6D7F Description: null
; A035214: 2 followed by a run of n 1's. ; 2,2,1,2,1,1,2,1,1,1,2,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1...
;LAB_1 ;PROBLEM 2: WRITE A 8086 ASSEMBLY PROGRAM TO CHANGE THE CASE OF ;A UPPER CASE LETTER TO LOWER CASE .MODEL SMALL .STACK 100H .DATA MSG1 DB 'ENTER A UPPER CASE LETTER: $' MSG2 DB 0DH, 0AH, 'IN LOWER CASE THE LETTER IS: ' CHAR DB ?, '$' .CODE MAIN PROC ;INITIALIZE DATA SEGMENT MOV AX, @DATA ;GET DATA ...
str_vesa_error: db "VESA VBE ERROR",10,13,0 vesa_var0: dw 0 vesa_var1: db 32 ; BPB de pelomenos 32-bit vesa_var2: dw 800 ;1024 ; X Resolution de Pelomenos => 1024 vesa_var3: dw 0x118 ; Especil mode vesa_vbe_mode: ; Info da chip VBE call .vbe_infos cmp ax,0x004F jne vesa_error push ds xo...
; A165856: Totally multiplicative sequence with a(p) = 35. ; Submitted by Jon Maiga ; 1,35,35,1225,35,1225,35,42875,1225,1225,35,42875,35,1225,1225,1500625,35,42875,35,42875,1225,1225,35,1500625,1225,1225,42875,42875,35,42875,35,52521875,1225,1225,1225,1500625,35,1225,1225,1500625,35,42875,35,42875,42875,1225,35,525218...
; A022108: Fibonacci sequence beginning 1, 18. ; 1,18,19,37,56,93,149,242,391,633,1024,1657,2681,4338,7019,11357,18376,29733,48109,77842,125951,203793,329744,533537,863281,1396818,2260099,3656917,5917016,9573933,15490949 mov $1,1 mov $2,11 lpb $0 sub $0,1 mov $3,$1 mov $1,1 add $1,$2 add $1,6 add $2,$3 lpe...
_MistyPreBattleText:: text "Hi, you're a new" line "face!" para "Trainers who want" line "to turn pro have" cont "to have a policy" cont "about #MON!" para "What is your" line "approach when you" cont "catch #MON?" para "My policy is an" line "all-out offensive" cont "with water-type" cont "#MON!" done...
; A111113: a(2^m) = 1, a(2^m+1) = -1 (m>0), otherwise a(n) = 0. ; 0,0,1,-1,1,-1,0,0,1,-1,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 lpb $0 sub $0,1 sub $2,$3 add $3,1 bin ...
; A184010: n + floor(sqrt(-1+4n/3)); complement of A001859 (except for initial zero). ; Submitted by Jamie Morken(s4) ; 1,3,4,6,7,8,9,11,12,13,14,15,17,18,19,20,21,22,23,25,26,27,28,29,30,31,32,34,35,36,37,38,39,40,41,42,43,45,46,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,73,74,75,76,77,78,...
; uchar zx_px2bitmask(uchar x) SECTION code_clib SECTION code_arch PUBLIC _zx_px2bitmask EXTERN asm_zx_px2bitmask _zx_px2bitmask: pop af pop hl push hl push af jp asm_zx_px2bitmask
dnl Intel Atom mpn_addlsh2_n/mpn_sublsh2_n -- rp[] = up[] +- (vp[] << 2). dnl Contributed to the GNU project by Marco Bodrato. dnl Copyright 2011 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...
; A339950: Numbers k such that all k-sections of the infinite Fibonacci word A014675 have just two different run-lengths. ; 1,7,14,20,27,35,41,48,54,62,69,75,82,90,96,103,109,117,124,130,137,143,151,158,164,171,179,185,192,198,206,213,219,226,234,240,247,253,260,268,274,281,287,295,302,308,315,323,329,336,342,350,357,3...
; A080036: a(n) = n + round(sqrt(2*n)) + 1. ; 1,3,5,6,8,9,10,12,13,14,15,17,18,19,20,21,23,24,25,26,27,28,30,31,32,33,34,35,36,38,39,40,41,42,43,44,45,47,48,49,50,51,52,53,54,55,57,58,59,60,61,62,63,64,65,66,68,69,70,71,72,73,74,75,76,77,78,80,81,82,83,84,85,86,87,88,89,90,91,93,94,95,96,97,98,99,100,101,102,103,104,10...
%macro write 1 ;%1 = the message to print mov eax,4 mov ebx,1 mov edx,equ $ - %1 mov ecx,%1 int 80h %endmacro section .text global _start _start: mov edx,vimlen mov ecx,vim mov ebx,1 mov eax,4 int 0x80 ;begin os mov edx,equ $ - loader mov ...
; Sets ITALIC flag in P_FLAG permanently ; Parameter: ITALIC flag in bit 0 of A register #include once <copy_attr.asm> ITALIC: PROC and 1 rrca rrca rrca ld hl, FLAGS2 res 5, (HL) or (hl) ld (hl), a ret ; Sets ITALIC flag in P_FLAG temporarily ITALIC_TMP: and 1 rrca rrca rrca rrca ld hl, FLAG...
; A017223: a(n) = (9*n+5)^3. ; 125,2744,12167,32768,68921,125000,205379,314432,456533,636056,857375,1124864,1442897,1815848,2248091,2744000,3307949,3944312,4657463,5451776,6331625,7301384,8365427,9528128,10793861,12167000,13651919,15252992,16974593,18821096,20796875,22906304,25153757,27543608,30080231,32768000,35611289...
\ Fill Mode 7 screen INCLUDE "os.asm" srca = &60 srcb = &62 srcc = &64 srcd = &66 desta = &70 destb = &72 destc = &74 destd = &76 frame = &78 ORG &2000 .start ; Mode 7 LDA #&16:JSR OSWRCH LDA #&07:JSR OSWRCH ; Hide the cursor LDA #23:JSR OSWRCH LDA #01:JSR OSWRCH LDA #00:JSR OSWRCH JSR OSWRCH:JSR ...
.nds .relativeinclude on .erroronwarning on .open "ftc/overlay9_25", 022D7900h ; In Jonathan mode, start the game as player 2 (Charlotte) instead of player 1. .org 0x022D90F0 strb r3,[r1,0CE7h] nop .close .open "ftc/overlay9_78", 022E8820h ; Make the drawbridge be down by default in all modes. .org 0x022E8880 ...
BITS 64 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END ; Cld ;TEST_BEGIN_RECORDING cld ;TEST_END_RECORDING
;; ;; Upcaste Performance Libraries ;; Copyright (C) 2012-2013 Jesse W. Towner ;; ;; Permission is hereby granted, free of charge, to any person obtaining ;; a copy of this software and associated documentation files (the ;; "Software"), to deal in the Software without restriction, including ;; without limitatio...
; ; jdclrmmx.asm - colorspace conversion (MMX) ; ; Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB ; ; Based on ; x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assem...
; A043565: Number of runs in base-13 representation of n. ; 1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2,2,2,2,2,2,2,2,2,1,2,2,2,2,2 dif $0,14 sub $0,1 mul $0,4 lpb $0 mov $0,45 add $1,1 lpe add $1,1 mov $0,$...
; @Author: Piyush Mehta assume cs:code,ds:data data segment pa equ 20a0h pb equ 20a1h pc equ 20a2h cr equ 20a3h data ends code segment start: mov ax,data mov ds,ax mov al,82h mov dx,cr out dx,al mov dx,pa mov al,00h ...
;; ;; Copyright (c) 2012-2020, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and...
; A100445: Bisection of A000255. ; Submitted by Jamie Morken(s3) ; 1,11,309,16687,1468457,190899411,34361893981,8178130767479,2486151753313617,939765362752547227,432292066866171724421,237760636776394448431551,154068892631103602583645049 mul $0,2 add $0,1 seq $0,255 ; a(n) = n*a(n-1) + (n-1)*a(n-2), a(0) = 1, a(1) = 1....
; A109720: Periodic sequence {0,1,1,1,1,1,1} or n^6 mod 7. ; 0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1 pow $0,6 mod $0,7
;=============================================================================== ; BASIC Loader *=$0801 ; 10 SYS (2064) byte $0E, $08, $0A, $00, $9E, $20, $28, $32 byte $30, $36, $34, $29, $00, $00, $00 ; Our code starts at $0810 (2064 decimal) ; after the 15 bytes for the BA...
; A001333: Numerators of continued fraction convergents to sqrt(2). ; 1,1,3,7,17,41,99,239,577,1393,3363,8119,19601,47321,114243,275807,665857,1607521,3880899,9369319,22619537,54608393,131836323,318281039,768398401,1855077841,4478554083,10812186007,26102926097,63018038201,152139002499,367296043199,886731088897,21407582...
; A055037: Number of numbers <= n with an even number of prime factors (counted with multiplicity). ; 1,1,1,2,2,3,3,3,4,5,5,5,5,6,7,8,8,8,8,8,9,10,10,11,12,13,13,13,13,13,13,13,14,15,16,17,17,18,19,20,20,20,20,20,20,21,21,21,22,22,23,23,23,24,25,26,27,28,28,29,29,30,30,31,32,32,32,32,33,33,33,33,33,34,34,34 mov $1,$0 ...
; ; Copyright (c) 2021, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source code in the LICENSE file, you can ; obtain it at www.aome...
%macro print_string 2 mov eax, 4 mov ebx, 1 mov ecx, %1 mov edx, %2 int 80h %endmacro %macro exit 0 mov eax, 1 mov ebx, 0 int 80h %endmacro
; A169720: a(n) = (3*2^(n-1)-1)*(3*2^n-1). ; 1,10,55,253,1081,4465,18145,73153,293761,1177345,4713985,18865153,75479041,301953025,1207885825,4831690753,19327057921,77308821505,309236465665,1236948221953,4947797606401,19791199862785,79164818325505,316659311050753,1266637319700481,5066549429796865 mov $1,2 pow $1,$0 bin...
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x16427, %rsi lea addresses_A_ht+0x1a0ba, %rdi nop nop nop nop add %rbp, %rbp mov $99, %rcx rep movsb nop nop nop nop nop add $50042, %r10 lea addresses_D_ht+0x5d9f, %r8 nop nop ...
; A132824: Row sums of triangle A132823. ; 1,2,2,4,10,24,54,116,242,496,1006,2028,4074,8168,16358,32740,65506,131040,262110,524252,1048538,2097112,4194262,8388564,16777170,33554384,67108814,134217676,268435402,536870856,1073741766,2147483588,4294967234,8589934528 mov $1,1 lpb $0 sub $0,1 mul $1,2 mov $2,$3 mov...
Name: zel_play.asm Type: file Size: 356412 Last-Modified: '2016-05-13T04:22:15Z' SHA-1: ECAEBAFC3C5E8E4E810800E1EC64401D2EB7EFA1 Description: null
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosCreateThread DOS wrapper ; ; (c) osFree Project 2022, <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 Proku...
; A187298: Number of 3-step one space leftwards or up, two space rightwards or down asymmetric rook's tours on an n X n board summed over all starting positions. ; 0,2,36,98,198,330,494,690,918,1178,1470,1794,2150,2538,2958,3410,3894,4410,4958,5538,6150,6794,7470,8178,8918,9690,10494,11330,12198,13098,14030,14994,15990...
else(8) JIP: LABEL0 { align16 1Q }; else(8) JIP: LABEL0 { align1 1Q }; else(16) JIP: LABEL0 { align1 1H }; LABEL0:
; A000749: a(n) = 4a(n-1) - 6a(n-2) + 4a(n-3), n > 3, with a(0)=a(1)=a(2)=0, a(3)=1. ; 0,0,0,1,4,10,20,36,64,120,240,496,1024,2080,4160,8256,16384,32640,65280,130816,262144,524800,1049600,2098176,4194304,8386560,16773120,33550336,67108864,134225920,268451840,536887296,1073741824,2147450880,4294901760,8589869056,1717986...